OrangePi_CM5/include/linux/regulator
Frieder Schrempf db37238f34 regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
[ Upstream commit 98b94b6e38ca0c4eeb29949c656f6a315000c23e ]

The driver uses the DVS registers PCA9450_REG_BUCKxOUT_DVS0 to set the
voltage for the buck regulators 1, 2 and 3. This has no effect as the
PRESET_EN bit is set by default and therefore the preset values are used
instead, which are set to 850 mV.

To fix this we clear the PRESET_EN bit at time of initialization.

Fixes: 0935ff5f1f ("regulator: pca9450: add pca9450 pmic driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Link: https://lore.kernel.org/r/20210222115229.166620-1-frieder.schrempf@kontron.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-25 09:04:14 +01:00
..
ab8500.h
…
act8865.h
…
arizona-ldo1.h
…
arizona-micsupp.h
…
consumer.h
…
coupler.h
…
da9211.h
…
db8500-prcmu.h
…
driver.h
…
fan53555.h
…
fixed.h
…
gpio-regulator.h
…
lp872x.h
…
lp3971.h
…
lp3972.h
…
machine.h
…
max1586.h
…
max8649.h
…
max8660.h
…
max8952.h
…
max8973-regulator.h
…
mt6311.h
…
mt6323-regulator.h
…
mt6358-regulator.h
…
mt6380-regulator.h
…
mt6397-regulator.h
…
of_regulator.h
…
pca9450.h
…
pfuze100.h
…
tps6507x.h
…
tps51632-regulator.h
…
tps62360.h
…
userspace-consumer.h
…