[RFC PATCH 0/3] regulator: Add X-Powers AXP318W PMIC support

Andre Przywara posted 3 patches 1 month, 3 weeks ago
.../bindings/mfd/x-powers,axp152.yaml         |  18 ++
drivers/mfd/axp20x-i2c.c                      |   2 +
drivers/mfd/axp20x.c                          |  84 +++++++++
drivers/regulator/axp20x-regulator.c          | 159 ++++++++++++++++++
include/linux/mfd/axp20x.h                    | 127 ++++++++++++++
5 files changed, 390 insertions(+)
[RFC PATCH 0/3] regulator: Add X-Powers AXP318W PMIC support
Posted by Andre Przywara 1 month, 3 weeks ago
This patch series adds support for the X-Powers AXP318W PMIC, which is
used recently on new boards with Allwinner SoCs (the A733).
It features 9 DCDC buck converters and 28 LDOs, plus the usual ADC,
interrupts, and power key components.
I am marking this as RFC, as this is untested, since I don't have hardware,
but at least the datasheet [1] gives enough information to get the review
and discussion started.

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.17-rc1.

Please have a look!

Cheers,
Andre

[1] https://linux-sunxi.org/AXP_PMICs (link in last line)

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         |  18 ++
 drivers/mfd/axp20x-i2c.c                      |   2 +
 drivers/mfd/axp20x.c                          |  84 +++++++++
 drivers/regulator/axp20x-regulator.c          | 159 ++++++++++++++++++
 include/linux/mfd/axp20x.h                    | 127 ++++++++++++++
 5 files changed, 390 insertions(+)

-- 
2.46.3