summaryrefslogtreecommitdiffstats
path: root/mm/mm_slot.h
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2024-04-18 01:07:33 +0100
committerMark Brown <broonie@kernel.org>2024-06-12 21:30:43 +0100
commit0057222c45140830a7bf55e92fb67f84a2814f67 (patch)
tree8d4e9ee0be38a191b57d29eca056efbc377e228f /mm/mm_slot.h
parent4cac29b846f38d5f0654cdfff5c5bfc37305081c (diff)
downloadlinux-0057222c45140830a7bf55e92fb67f84a2814f67.tar.gz
linux-0057222c45140830a7bf55e92fb67f84a2814f67.tar.bz2
linux-0057222c45140830a7bf55e92fb67f84a2814f67.zip
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: d2ac3df75c3a ("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>
Diffstat (limited to 'mm/mm_slot.h')
0 files changed, 0 insertions, 0 deletions