WSL2-Linux-Kernel/include/linux/regulator
Frieder Schrempf 98b94b6e38
regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
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>
2021-03-10 12:22:26 +00:00
..
act8865.h
arizona-ldo1.h
arizona-micsupp.h
consumer.h regulator: consumer: Add missing stubs to regulator/consumer.h 2021-01-21 12:35:42 +00:00
coupler.h regulator: extract voltage balancing code to the separate function 2020-05-29 14:36:00 +01:00
da9121.h regulator: da9121: Add support for device variants via devicetree 2020-12-01 12:18:00 +00:00
da9211.h
db8500-prcmu.h
driver.h regulator: core: add of_match_full_name boolean flag 2020-11-23 18:38:13 +00:00
fan53555.h
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h regulator: Correct kernel-doc inconsistency 2020-07-17 00:16:50 +01:00
max1586.h
max8649.h
max8660.h
max8952.h
max8973-regulator.h
mt6311.h
mt6315-regulator.h regulator: mt6315: Add support for MT6315 regulator 2021-02-08 11:48:48 +00:00
mt6323-regulator.h
mt6358-regulator.h
mt6380-regulator.h
mt6397-regulator.h
of_regulator.h
pca9450.h regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting 2021-03-10 12:22:26 +00:00
pfuze100.h regulator: pfuze100: Convert the driver to DT-only 2020-12-11 13:23:06 +00:00
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h