linux/drivers/regulator
Mikhail Rudenko 5e53e4a66b
regulator: rk808: Add apply_bit for BUCK3 on RK809
Currently, RK809's BUCK3 regulator is modelled in the driver as a
configurable regulator with 0.5-2.4V voltage range. But the voltage
setting is not actually applied, because when bit 6 of
PMIC_POWER_CONFIG register is set to 0 (default), BUCK3 output voltage
is determined by the external feedback resistor. Fix this, by setting
bit 6 when voltage selection is set. Existing users which do not
specify voltage constraints in their device trees will not be affected
by this change, since no voltage setting is applied in those cases,
and bit 6 is not enabled.

Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com>
Link: https://patch.msgid.link/20241017-rk809-dcdc3-v1-1-e3c3de92f39c@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-11-01 14:47:08 +00:00
..
88pg86x.c
88pm800-regulator.c
88pm886-regulator.c
88pm8607.c
aat2870-regulator.c
ab8500-ext.c
ab8500.c
act8865-regulator.c
act8945a-regulator.c
ad5398.c
anatop-regulator.c
arizona-ldo1.c
arizona-micsupp.c
as3711-regulator.c
as3722-regulator.c
atc260x-regulator.c
aw37503-regulator.c
axp20x-regulator.c
bcm590xx-regulator.c
bd718x7-regulator.c
bd9571mwv-regulator.c
bd9576-regulator.c
bd71815-regulator.c
bd71828-regulator.c
bd96801-regulator.c
core.c regulator: Split up _regulator_get() 2024-09-13 17:39:48 +01:00
cpcap-regulator.c
cros-ec-regulator.c
da903x-regulator.c regulator: Fix typos in the comment 2024-09-10 12:40:38 +01:00
da9052-regulator.c regulator: da9052: Constify static data 2024-09-10 12:44:03 +01:00
da9055-regulator.c regulator: da9055: Constify static data 2024-09-10 12:44:04 +01:00
da9062-regulator.c
da9063-regulator.c regulator: Few constifications of static data 2024-09-11 11:20:37 +01:00
da9121-regulator.c regulator: da9121: Constify static data 2024-09-10 12:44:06 +01:00
da9121-regulator.h
da9210-regulator.c
da9210-regulator.h
da9211-regulator.c regulator: da9211: Constify struct regulator_desc 2024-09-09 18:27:02 +01:00
da9211-regulator.h
db8500-prcmu.c
dbx500-prcmu.c
dbx500-prcmu.h
devres.c
dummy.c
dummy.h
event.c
fan53555.c regulator: Fix typos in the comment 2024-09-10 12:40:38 +01:00
fan53880.c
fixed-helper.c
fixed.c
gpio-regulator.c
helpers.c regulator: update some comments ([gs]et_voltage_vsel vs [gs]et_voltage_sel) 2024-09-13 14:57:08 +01:00
hi655x-regulator.c
hi6421-regulator.c regulator: hi6421: Constify static data 2024-09-10 12:44:07 +01:00
hi6421v530-regulator.c regulator: hi6421v530: Use container_of and constify static data 2024-09-10 12:44:17 +01:00
hi6421v600-regulator.c regulator: hi6421v600: Constify static data 2024-09-10 12:44:08 +01:00
internal.h regulator: Split up _regulator_get() 2024-09-13 17:39:48 +01:00
irq_helpers.c
isl6271a-regulator.c
isl9305.c
Kconfig regulator: sm5703: Remove because it is unused and fails to build 2024-09-13 19:08:14 +01:00
lm363x-regulator.c
lochnagar-regulator.c
lp872x.c
lp873x-regulator.c
lp3971.c
lp3972.c
lp8755.c
lp8788-buck.c
lp8788-ldo.c
lp87565-regulator.c
ltc3589.c
ltc3676.c
Makefile regulator: sm5703: Remove because it is unused and fails to build 2024-09-13 19:08:14 +01:00
max1586.c
max5970-regulator.c regulator: Fix typos in the comment 2024-09-10 12:40:38 +01:00
max8649.c
max8660.c
max8893.c
max8907-regulator.c
max8925-regulator.c
max8952.c
max8973-regulator.c regulator: max8973: Use irq_get_trigger_type() helper 2024-09-13 14:57:07 +01:00
max8997-regulator.c
max8998.c
max14577-regulator.c
max20086-regulator.c
max20411-regulator.c
max77503-regulator.c
max77541-regulator.c
max77620-regulator.c
max77650-regulator.c regulator: max77650: Use container_of and constify static data 2024-09-10 12:44:18 +01:00
max77686-regulator.c
max77693-regulator.c
max77802-regulator.c
max77826-regulator.c regulator: max77826: Constify static data 2024-09-10 12:44:11 +01:00
max77857-regulator.c
mc13xxx-regulator-core.c
mc13xxx.h
mc13783-regulator.c
mc13892-regulator.c
mcp16502.c
mp886x.c
mp5416.c regulator: mp5416: Constify struct regulator_desc 2024-09-09 18:27:01 +01:00
mp8859.c
mpq7920.c
mpq7920.h
mt6311-regulator.c
mt6311-regulator.h
mt6315-regulator.c
mt6323-regulator.c
mt6331-regulator.c
mt6332-regulator.c
mt6357-regulator.c regulator: update some comments ([gs]et_voltage_vsel vs [gs]et_voltage_sel) 2024-09-13 14:57:08 +01:00
mt6358-regulator.c
mt6359-regulator.c
mt6360-regulator.c
mt6370-regulator.c
mt6380-regulator.c
mt6397-regulator.c
mtk-dvfsrc-regulator.c regulator: mtk-dvfsrc: Constify static data 2024-09-10 12:44:12 +01:00
of_regulator.c
palmas-regulator.c
pbias-regulator.c
pca9450-regulator.c
pcap-regulator.c regulator: pcap: Constify static data 2024-09-10 12:44:13 +01:00
pcf50633-regulator.c
pf8x00-regulator.c
pfuze100-regulator.c regulator: pfuze100: Constify static data 2024-09-10 12:44:14 +01:00
pv88060-regulator.c
pv88060-regulator.h
pv88080-regulator.c
pv88080-regulator.h
pv88090-regulator.c
pv88090-regulator.h
pwm-regulator.c
qcom_rpm-regulator.c
qcom_smd-regulator.c
qcom_spmi-regulator.c regulator: Fix typos in the comment 2024-09-10 12:40:38 +01:00
qcom_usb_vbus-regulator.c
qcom-labibb-regulator.c
qcom-pm8008-regulator.c
qcom-refgen-regulator.c regulator: qcom-refgen: Constify static data 2024-09-10 12:44:15 +01:00
qcom-rpmh-regulator.c
raa215300.c
rc5t583-regulator.c
regnl.h
renesas-usb-vbus-regulator.c
rk808-regulator.c regulator: rk808: Add apply_bit for BUCK3 on RK809 2024-11-01 14:47:08 +00:00
rn5t618-regulator.c
rohm-regulator.c
rpi-panel-attiny-regulator.c
rt4801-regulator.c
rt4803.c
rt4831-regulator.c
rt5033-regulator.c
rt5120-regulator.c
rt5190a-regulator.c
rt5739.c
rt5759-regulator.c
rt6160-regulator.c
rt6190-regulator.c
rt6245-regulator.c
rtmv20-regulator.c
rtq2134-regulator.c
rtq2208-regulator.c regulator: rtq2208: Fix uninitialized use of regulator_config 2024-10-25 14:10:19 +01:00
rtq6752-regulator.c
s2mpa01.c
s2mps11.c
s5m8767.c
sc2731-regulator.c
scmi-regulator.c
sky81452-regulator.c
slg51000-regulator.c
slg51000-regulator.h
stm32-booster.c
stm32-pwr.c
stm32-vrefbuf.c
stpmic1_regulator.c
stw481x-vmmc.c
sun20i-regulator.c
sy7636a-regulator.c
sy8106a-regulator.c
sy8824x.c
sy8827n.c
ti-abb-regulator.c
tps6105x-regulator.c
tps6286x-regulator.c
tps6287x-regulator.c regulator: tps6287x: Constify struct regulator_desc 2024-09-09 21:08:43 +01:00
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c
tps6594-regulator.c
tps51632-regulator.c
tps62360-regulator.c
tps65023-regulator.c regulator: tps65023: Constify static data 2024-09-10 12:44:09 +01:00
tps65086-regulator.c
tps65090-regulator.c
tps65132-regulator.c
tps65217-regulator.c
tps65218-regulator.c
tps65219-regulator.c
tps65910-regulator.c
tps65912-regulator.c
tps68470-regulator.c
twl6030-regulator.c
twl-regulator.c
uniphier-regulator.c
userspace-consumer.c
vctrl-regulator.c
vexpress-regulator.c
virtual.c
vqmmc-ipq4019-regulator.c
wm831x-dcdc.c
wm831x-isink.c
wm831x-ldo.c
wm8350-regulator.c
wm8400-regulator.c regulator: wm8400: Constify struct regulator_desc 2024-09-09 21:08:42 +01:00
wm8994-regulator.c