public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] regulator: Add X-Powers AXP318W PMIC support
@ 2025-10-21 11:20 Andre Przywara
  2025-10-21 11:20 ` [PATCH 1/3] dt-bindings: mfd: x-powers,axp152: Document AXP318W Andre Przywara
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andre Przywara @ 2025-10-21 11:20 UTC (permalink / raw)
  To: Lee Jones, Chen-Yu Tsai, Liam Girdwood, Mark Brown,
	Samuel Holland, Jernej Skrabec
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Yixun Lan,
	devicetree, linux-sunxi, linux-kernel

This patch series adds support for the X-Powers AXP318W PMIC, which is
used recently on new boards with Allwinner SoCs (the A733).
Compared to the RFC post, this now has been tested on real hardware,
with the full regulator description for the Radxa Cubie A7A board.
This also adds the switched outputs (swout1/swout2), and fixes the DCDC
input supplies, which are combined in certain ways.
Rob, I dropped your tag on the binding tag, since there were quite some
changes.

The PMIC features 9 DCDC buck converters and 28 LDOs, plus the usual ADC,
interrupts, and power key components.
A datasheet can be found linked in this Wiki table:
https://linux-sunxi.org/AXP_PMICs

Patch 1 adds the compatible string to the binding document, and adds
the additional input supply properties.
Patch 2 is the MFD part, describing the regmap and all the interrupts.
So far we support the regulator and power key devices, the ADC and
other pieces will follow later.
Patch 3 adds the voltage regulator rails, this part is crucial to enable
any board using this PMIC, as we depend on those rails even for basic
devices.

Based on v6.18-rc1.

Please have a look!

Changelog RFC ... v1:
- tested on hardware
- adding switch outputs (swout1/swout2) (to binding and code)
- fixing DC/DC input supplies (in binding and code)


Andre Przywara (3):
  dt-bindings: mfd: x-powers,axp152: Document AXP318W
  mfd: axp20x: Add support for AXP318W PMIC
  regulator: axp20x: add support for the AXP318W

 .../bindings/mfd/x-powers,axp152.yaml         |  28 ++-
 drivers/mfd/axp20x-i2c.c                      |   2 +
 drivers/mfd/axp20x.c                          |  84 +++++++++
 drivers/regulator/axp20x-regulator.c          | 170 +++++++++++++++++-
 include/linux/mfd/axp20x.h                    | 129 +++++++++++++
 5 files changed, 410 insertions(+), 3 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-11-03 16:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 11:20 [PATCH 0/3] regulator: Add X-Powers AXP318W PMIC support Andre Przywara
2025-10-21 11:20 ` [PATCH 1/3] dt-bindings: mfd: x-powers,axp152: Document AXP318W Andre Przywara
2025-10-22 17:38   ` Conor Dooley
2025-11-03 15:31   ` Chen-Yu Tsai
2025-10-21 11:20 ` [PATCH 2/3] mfd: axp20x: Add support for AXP318W PMIC Andre Przywara
2025-11-03 15:49   ` Chen-Yu Tsai
2025-10-21 11:20 ` [PATCH 3/3] regulator: axp20x: add support for the AXP318W Andre Przywara
2025-10-21 14:27   ` Mark Brown
2025-10-22  0:14   ` Yixun Lan
2025-10-22  0:47     ` Andre Przywara
2025-10-22  7:58       ` Yixun Lan
2025-10-31  1:22         ` Andre Przywara
2025-11-03 16:28     ` Chen-Yu Tsai
2025-11-03 16:54   ` Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox