Skip to content

regulator: Add X-Powers AXP717 PMIC support

Andre Przywara linux-devicetree linux-sunxi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4regulator: axp20x: fix typo-ed identifierdrivers/regulator/axp20x-regulator.c include/linux/mfd/axp20x.h+10 -101 reply
2/4dt-bindings: mfd: x-powers,axp152: document AXP717Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml+2 -04 replies
3/4mfd: axp20x: add support for AXP717 PMICdrivers/mfd/axp20x-i2c.c drivers/mfd/axp20x-rsb.c drivers/mfd/axp20x.c +1 more+160 -01 reply
4/4regulator: axp20x: add support for the AXP717drivers/regulator/axp20x-regulator.c include/linux/mfd/axp20x.h+105 -03 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiRyan WalklinMark BrownJernej Skrabec
SeriesT-b
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] regulator: Add X-Powers AXP717 PMIC support

This patch series adds support for the X-Powers AXP717 PMIC, which is used recently on new boards with Allwinner SoCs.
Allwinner's BSP code often speaks of the AXP2202, this seems to be the same chip, at least a boot0 AXP2202 driver happily drove a chip labelled AXP717.

Patch 1 fixes a typo in some macro names for the AXP313a PMIC, I just realised that during some copy&paste action. It's just an identifier rename, so not a backport candidate, I'd say.
Patch 2 adds the compatible string to the binding document. Patch 3 is the MFD part, describing the regmap and all the interrupts. So far we support the regulator and power key devices, the USB and charging devices will follow later.
Patch 4 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.

Please note that I could not test this driver myself, but had success messages from others. It would be good to hear from Ryan and Chris here on the list, with a Tested-by: tag.

This series is based on next-20240308 for now. I will send a rebased update after the merge window, but wanted to start discussion and review now.

Please have a look!

Cheers,
Andre

Andre Przywara (4):
regulator: axp20x: fix typo-ed identifier
dt-bindings: mfd: x-powers,axp152: document AXP717
mfd: axp20x: add support for AXP717 PMIC
regulator: axp20x: add support for the AXP717

 .../bindings/mfd/x-powers,axp152.yaml         |  2 +
 drivers/mfd/axp20x-i2c.c                      |  2 +
 drivers/mfd/axp20x-rsb.c                      |  1 +
 drivers/mfd/axp20x.c                          | 90 +++++++++++++++++
 drivers/regulator/axp20x-regulator.c          | 94 +++++++++++++++++-
 include/linux/mfd/axp20x.h                    | 98 ++++++++++++++++++-
 6 files changed, 277 insertions(+), 10 deletions(-)
Signature · 1 line
2.35.8