[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230426142740.GN50521@google.com>
Date: Wed, 26 Apr 2023 15:27:40 +0100
From: Lee Jones <lee@...nel.org>
To: Shengyu Qu <wiagn233@...look.com>
Cc: 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,
andre.przywara@....com, conor.dooley@...rochip.com
Subject: Re: [PATCH v3 2/3] mfd: axp20x: Add support for AXP15060 PMIC
On Fri, 21 Apr 2023, Shengyu Qu wrote:
> The AXP15060 is a PMIC chip produced by X-Powers, and could be connected
> via an I2C bus.
>
> Describe the regmap and the MFD bits, along with the registers exposed
> via I2C. Eventually advertise the device using a new compatible string
> and add support for power off the system.
>
> The driver would disable PEK function if IRQ is not configured in device
> tree, since some boards (For example, Starfive Visionfive 2) didn't
> connect IRQ line of PMIC to SOC.
>
> GPIO function isn't enabled in this commit, since its configuration
> operation is different from any existing AXP PMICs and needs
> logic modification on existing driver. GPIO support might come in later
> patches.
>
> ---
You must not use these above the tags or Git will drop them.
> Changes since v2:
> - Rebase to AXP313a series v10 [1] + newest (20230420) -next branch
> - Add axp_regulator_only_cells rather than directly using axp806_cells
> for cases that IRQ line isn't connected.
>
> Changes since v1:
> - Nothing
>
> [1] https://lore.kernel.org/linux-sunxi/20230401001850.4988-1-andre.przywara@arm.com/
>
> Signed-off-by: Shengyu Qu <wiagn233@...look.com>
> ---
Put change-logs here instead.
> drivers/mfd/axp20x-i2c.c | 2 +
> drivers/mfd/axp20x.c | 107 +++++++++++++++++++++++++++++++++++++
> include/linux/mfd/axp20x.h | 85 +++++++++++++++++++++++++++++
> 3 files changed, 194 insertions(+)
I manually added the missing tags for this and the DT patch and applied.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists