[<prev] [next>] [day] [month] [year] [list]
Message-ID: <TY3P286MB26113C9B81C7F768E082AD52989C9@TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM>
Date: Mon, 17 Apr 2023 17:05:34 +0800
From: Shengyu Qu <wiagn233@...look.com>
To: lee@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, wens@...e.org,
lgirdwood@...il.com, broonie@...nel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Shengyu Qu <wiagn233@...look.com>
Subject: [PATCH v2 0/4] Add X-Powers AXP15060 PMIC support
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
Powered by blists - more mailing lists