linux/drivers/regulator
Andre Przywara 0057222c45
regulator: axp20x: AXP717: fix LDO supply rails and off-by-ones
The X-Powers AXP717 PMIC has separate input supply pins for each group
of LDOs, so they are not all using the same DCDC1 input, as described
currently.

Replace the "supply" member of each LDO description with the respective
group supply name, so that the supply dependencies can be correctly
described in the devicetree.

Also fix two off-by-ones in the regulator macros, after some double
checking the numbers against the datasheet. This uncovered a bug in the
datasheet: add a comment to document this.

Fixes: d2ac3df75c ("regulator: axp20x: add support for the AXP717")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: John Watts <contact@jookia.org>
Link: https://lore.kernel.org/r/20240418000736.24338-3-andre.przywara@arm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-06-12 21:30:43 +01:00
..
88pg86x.c
88pm800-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 regulator: axp20x: AXP717: fix LDO supply rails and off-by-ones 2024-06-12 21:30:43 +01:00
bcm590xx-regulator.c
bd718x7-regulator.c
bd9571mwv-regulator.c
bd9576-regulator.c
bd71815-regulator.c regulator: bd71815: fix ramp values 2024-06-12 16:19:49 +01:00
bd71828-regulator.c regulator: bd71828: Don't overwrite runtime voltages 2024-05-16 13:36:41 +01:00
core.c regulator: core: Fix modpost error "regulator_get_regmap" undefined 2024-06-10 22:52:02 +01:00
cpcap-regulator.c
cros-ec-regulator.c
da903x-regulator.c
da9052-regulator.c
da9055-regulator.c regulator: da9055: Fully convert to GPIO descriptors 2024-02-26 13:46:34 +00:00
da9062-regulator.c
da9063-regulator.c
da9121-regulator.c regulator: da9121: convert to use maple tree register cache 2024-03-25 00:48:16 +00:00
da9121-regulator.h
da9210-regulator.c
da9210-regulator.h
da9211-regulator.c regulator: da9211: convert to use maple tree register cache 2024-03-25 00:48:17 +00:00
da9211-regulator.h
db8500-prcmu.c
dbx500-prcmu.c
dbx500-prcmu.h
devres.c regulator: devres: fix devm_regulator_get_enable_read_voltage() return 2024-05-07 10:31:47 +09:00
dummy.c
dummy.h
event.c
fan53555.c
fan53880.c
fixed-helper.c
fixed.c
gpio-regulator.c
helpers.c regulator: pickable ranges: don't always cache vsel 2024-05-20 18:40:39 +01:00
hi655x-regulator.c
hi6421-regulator.c
hi6421v530-regulator.c
hi6421v600-regulator.c
internal.h regulator: core: make regulator_class constant 2024-03-05 19:20:21 +00:00
irq_helpers.c regulator: irq_helpers: duplicate IRQ name 2024-04-08 13:58:57 +01:00
isl6271a-regulator.c
isl9305.c regulator: isl9305: convert to use maple tree register cache 2024-03-25 00:48:18 +00:00
Kconfig - New Device Support 2024-05-22 10:41:14 -07:00
lm363x-regulator.c
lochnagar-regulator.c
lp872x.c
lp873x-regulator.c
lp3971.c
lp3972.c
lp8755.c
lp8788-buck.c regulator: lp8788-buck: fix copy and paste bug in lp8788_dvs_gpio_request() 2024-03-06 14:03:32 +00:00
lp8788-ldo.c
lp87565-regulator.c
ltc3589.c
ltc3676.c
Makefile regulator: sun20i: Add Allwinner D1 LDOs driver 2024-05-09 17:44:01 +02:00
max1586.c
max5970-regulator.c
max8649.c
max8660.c
max8893.c
max8907-regulator.c
max8925-regulator.c
max8952.c
max8973-regulator.c regulator: max8973: convert to use maple tree register cache 2024-03-25 00:48:19 +00:00
max8997-regulator.c regulator: max8997: Convert to GPIO descriptors 2024-02-26 13:46:36 +00:00
max8998.c regulator: max8998: Convert to GPIO descriptors 2024-02-26 13:46:37 +00:00
max14577-regulator.c
max20086-regulator.c
max20411-regulator.c
max77503-regulator.c
max77541-regulator.c
max77620-regulator.c
max77650-regulator.c
max77686-regulator.c
max77693-regulator.c
max77802-regulator.c
max77826-regulator.c
max77857-regulator.c
mc13xxx-regulator-core.c
mc13xxx.h
mc13783-regulator.c
mc13892-regulator.c
mcp16502.c
mp886x.c
mp5416.c
mp8859.c regulator: mp8859: Implement set_current_limit() 2024-02-26 13:46:55 +00:00
mpq7920.c
mpq7920.h
mt6311-regulator.c regulator: mt6311: convert to use maple tree register cache 2024-03-25 00:48:20 +00:00
mt6311-regulator.h
mt6315-regulator.c
mt6323-regulator.c
mt6331-regulator.c
mt6332-regulator.c
mt6357-regulator.c
mt6358-regulator.c
mt6359-regulator.c
mt6360-regulator.c regulator: mt6360: De-capitalize devicetree regulator subnodes 2024-04-09 16:22:59 +01:00
mt6370-regulator.c
mt6380-regulator.c
mt6397-regulator.c
mtk-dvfsrc-regulator.c
of_regulator.c
palmas-regulator.c
pbias-regulator.c
pca9450-regulator.c regulator: convert to use maple tree register 2024-03-26 11:51:35 +00:00
pcap-regulator.c
pcf50633-regulator.c
pf8x00-regulator.c regulator: pf8x00: convert to use maple tree register cache 2024-03-25 00:48:22 +00:00
pfuze100-regulator.c regulator: pfuze100: convert to use maple tree register cache 2024-03-25 00:48:22 +00:00
pv88060-regulator.c
pv88060-regulator.h
pv88080-regulator.c
pv88080-regulator.h
pv88090-regulator.c
pv88090-regulator.h
pwm-regulator.c
qcom-labibb-regulator.c
qcom-refgen-regulator.c regulator: qcom-refgen: fix module autoloading 2024-04-10 18:48:58 +01:00
qcom-rpmh-regulator.c
qcom_rpm-regulator.c
qcom_smd-regulator.c
qcom_spmi-regulator.c
qcom_usb_vbus-regulator.c
raa215300.c
rc5t583-regulator.c
regnl.h
rk808-regulator.c regulator: rk808: Add RK816 support 2024-05-03 09:15:38 +01:00
rn5t618-regulator.c
rohm-regulator.c regulator: rohm-regulator: warn if unsupported voltage is set 2024-05-16 13:36:42 +01:00
rpi-panel-attiny-regulator.c regulator: rpi-panel-attiny: convert to use maple tree register cache 2024-03-25 00:48:27 +00:00
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 regulator: rtmv20: convert to use maple tree register cache 2024-03-25 00:48:23 +00:00
rtq2134-regulator.c
rtq2208-regulator.c regulator: rtq2208: Fix invalid memory access when devm_of_regulator_put_matches is called 2024-05-28 13:22:54 +01:00
rtq6752-regulator.c regulator: rtq6752: convert to use maple tree register cache 2024-03-25 00:48:24 +00:00
s2mpa01.c
s2mps11.c
s5m8767.c
sc2731-regulator.c
scmi-regulator.c
sky81452-regulator.c
slg51000-regulator.c
slg51000-regulator.h
sm5703-regulator.c
stm32-booster.c
stm32-pwr.c
stm32-vrefbuf.c
stpmic1_regulator.c
stw481x-vmmc.c
sun20i-regulator.c regulator: sun20i: Add Allwinner D1 LDOs driver 2024-05-09 17:44:01 +02:00
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: Force writing VSEL bit 2024-05-20 20:27:16 +01:00
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c
tps6594-regulator.c regulator: tps6594-regulator: Fix the number of irqs for TPS65224 and TPS6594 2024-06-04 13:22:18 +01:00
tps51632-regulator.c regulator: tps51632: convert to use maple tree register cache 2024-03-25 00:48:25 +00:00
tps62360-regulator.c regulator: tps62360: convert to use maple tree register cache 2024-03-25 00:48:26 +00:00
tps65023-regulator.c
tps65086-regulator.c
tps65090-regulator.c
tps65132-regulator.c regulator: tps65132: Add of_match table 2024-03-25 19:28:27 +00:00
tps65217-regulator.c
tps65218-regulator.c
tps65219-regulator.c
tps65910-regulator.c
tps65912-regulator.c
tps68470-regulator.c
twl-regulator.c
twl6030-regulator.c
uniphier-regulator.c
userspace-consumer.c regulator: userspace-consumer: add module device table 2024-02-26 18:30:24 +00:00
vctrl-regulator.c
vexpress-regulator.c
virtual.c
vqmmc-ipq4019-regulator.c regulator: vqmmc-ipq4019: fix module autoloading 2024-04-10 18:48:59 +01:00
wm831x-dcdc.c
wm831x-isink.c
wm831x-ldo.c
wm8350-regulator.c
wm8400-regulator.c
wm8994-regulator.c