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 v2: - Rebase to AXP313a series v10 [1] + newest (20230420) -next branch Patch 1: - Disables DC-DC frequency setting (Andre Przywara) Patch 2: - Add axp_regulator_only_cells rather than directly using axp806_cells for cases that IRQ line isn't connected. Patch 3: - Fix some whitespace (Andre Przywara) - Rename swout to sw to keep up with bindings (Andre Przywara) - Add check for setting DC-DC frequency (Andre Przywara) Changes since v1: - Move cpusldo before drivevbus (Krzysztof Kozlowski) [1] https://lore.kernel.org/linux-sunxi/20230401001850.4988-1-andre.przywara@xxxxxxx/ Shengyu Qu (3): dt-bindings: mfd: x-powers,axp152: Document the AXP15060 variant mfd: axp20x: Add support for AXP15060 PMIC regulator: axp20x: Add AXP15060 support .../bindings/mfd/x-powers,axp152.yaml | 7 +- drivers/mfd/axp20x-i2c.c | 2 + drivers/mfd/axp20x.c | 107 ++++++++ drivers/regulator/axp20x-regulator.c | 232 +++++++++++++++++- include/linux/mfd/axp20x.h | 85 +++++++ 5 files changed, 422 insertions(+), 11 deletions(-) -- 2.40.0