summaryrefslogtreecommitdiff
path: root/drivers/regulator/qcom-rpmh-regulator.c
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2020-06-15 00:54:08 +0300
committerMark Brown <broonie@kernel.org>2020-06-15 17:39:53 +0300
commit6f1cf5257acc6e6242ddf2f52bc7912aed77b79f (patch)
treeff3cfc690d447056a7202f14db8f8f242a164543 /drivers/regulator/qcom-rpmh-regulator.c
parent92919679d31721381e3c376488477efe49b915f3 (diff)
downloadlinux-6f1cf5257acc6e6242ddf2f52bc7912aed77b79f.tar.xz
regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
PFUZE100_SWB_REG is not proper for sw1a/sw2, because enable_mask/enable_reg is not correct. On PFUZE3000, sw1a/sw2 should be the same as sw1a/sw2 on pfuze100 except that voltages are not linear, so add new PFUZE3000_SW_REG and pfuze3000_sw_regulator_ops which like the non-linear PFUZE100_SW_REG and pfuze100_sw_regulator_ops. Fixes: 1dced996ee70 ("regulator: pfuze100: update voltage setting for pfuze3000 sw1a") Reported-by: Christophe Meynard <Christophe.Meynard@ign.fr> Signed-off-by: Robin Gong <yibin.gong@nxp.com> Link: https://lore.kernel.org/r/1592171648-8752-1-git-send-email-yibin.gong@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/qcom-rpmh-regulator.c')
0 files changed, 0 insertions, 0 deletions