]> Git Repo - J-linux.git/commit
regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
authorRobin Gong <[email protected]>
Sun, 14 Jun 2020 21:54:08 +0000 (05:54 +0800)
committerMark Brown <[email protected]>
Mon, 15 Jun 2020 14:39:53 +0000 (15:39 +0100)
commit6f1cf5257acc6e6242ddf2f52bc7912aed77b79f
treeff3cfc690d447056a7202f14db8f8f242a164543
parent92919679d31721381e3c376488477efe49b915f3
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 <[email protected]>
Signed-off-by: Robin Gong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
drivers/regulator/pfuze100-regulator.c
This page took 0.050477 seconds and 4 git commands to generate.