Skip to content
Commit ce9cbb0d authored by Robin Gong's avatar Robin Gong Committed by Paul Gortmaker
Browse files

regualtor: pfuze100: correct sw1a/sw2 on pfuze3000



commit 6f1cf525 upstream.

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: 1dced996 ("regulator: pfuze100: update voltage setting for pfuze3000 sw1a")
Reported-by: default avatarChristophe Meynard <Christophe.Meynard@ign.fr>
Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
Link: https://lore.kernel.org/r/1592171648-8752-1-git-send-email-yibin.gong@nxp.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent ed617b69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment