[PATCH v2 0/4] Add X-Powers AXP15060 PMIC support

From: Shengyu Qu
Date: Mon Apr 17 2023 - 05:06:46 EST


This patch series adds support for the X-Powers AXP15060 PMIC, which is
a general purpose PMIC seen on different boards with different SOC.
This series were tested on Starfive Visionfive 2 board.

On this board, IRQ line from PMIC isn't connected so PEK function is
completely unable to use, so IRQ existence detection is added to patch 2
to avoid initialization failure.

Besides, its GPIO/LDO control logic is quite different from other chips
and is not easy to add support for it basing on existing axp20x GPIO
driver, so I didn't add support for it in this series. Maybe others
could do this.

Changes since v1:
Patch 1: Move cpusldo before drivevbus (Krzysztof Kozlowski)

Shengyu Qu (4):
dt-bindings: mfd: x-powers,axp152: Document the AXP15060 variant
mfd: axp20x: Add support for AXP15060 PMIC
regulator: axp20x: Add AXP15060 support
regulator: axp20x: Set DCDC frequency only when property exists

.../bindings/mfd/x-powers,axp152.yaml | 3 +-
drivers/mfd/axp20x-i2c.c | 2 +
drivers/mfd/axp20x.c | 90 +++++++
drivers/regulator/axp20x-regulator.c | 237 +++++++++++++++++-
include/linux/mfd/axp20x.h | 85 +++++++
5 files changed, 404 insertions(+), 13 deletions(-)

--
2.25.1