regulator: Add X-Powers AXP318W PMIC support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: mfd: x-powers,axp152: Document AXP318WDocumentation/ | +27 | 2 replies | |
| 2/3 | mfd: axp20x: Add support for AXP318W PMICdrivers/ drivers/ include/ | +172 | 1 reply | |
| 3/3 | regulator: axp20x: add support for the AXP318Wdrivers/ include/ | +211 | 8 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Mark Brown | Conor Dooley | Chen-Yu Tsai |
|---|---|---|---|
| 1/3 | A-b | R-b | |
| 2/3 | |||
| 3/3 | R-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 3 reviewers.
Cover letter [PATCH 0/3] regulator: Add X-Powers AXP318W PMIC support
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(-)
Signature · 1 line
2.25.1