Skip to content
Unverified Commit 0057222c authored by Andre Przywara's avatar Andre Przywara Committed by Mark Brown
Browse files

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: d2ac3df7 ("regulator: axp20x: add support for the AXP717")
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Reviewed-by: default avatarJohn Watts <contact@jookia.org>
Link: https://lore.kernel.org/r/20240418000736.24338-3-andre.przywara@arm.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4cac29b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment