Re: [PATCH v10 2/3] mfd: axp20x: Add support for AXP313a PMIC

From: Shengyu Qu
Date: Fri Apr 21 2023 - 05:35:50 EST


Hello Lee,

Where is your branch? I'm gonna rebase my AXP15060 series on it.

Best regards,

Shengyu

在 2023/4/21 15:31, Lee Jones 写道:
On Sat, 01 Apr 2023, Andre Przywara wrote:

From: Martin Botka <martin.botka@xxxxxxxxxxxxxx>

The AXP313a is a PMIC chip produced by X-Powers, it can be connected via
an I2C bus.
The name AXP1530 seems to appear as well, and this is what is used in
the BSP driver. From all we know it's the same chip, just a different
name. However we have only seen AXP313a chips in the wild, so go with
this name.

Compared to the other AXP PMICs it's a rather simple affair: just three
DCDC converters, three LDOs, and no battery charging support.

Describe the regmap and the MFD bits, along with the registers exposed
via I2C. Aside from the various regulators, also describe the power key
interrupts, and adjust the shutdown handler routine to use a different
register than the other PMICs.
Eventually advertise the device using the new compatible string.

Signed-off-by: Martin Botka <martin.botka@xxxxxxxxxxxxxx>
Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
Acked-for-MFD-by: Lee Jones <lee@xxxxxxxxxx>
---
drivers/mfd/axp20x-i2c.c | 2 +
drivers/mfd/axp20x.c | 78 +++++++++++++++++++++++++++++++++++++-
include/linux/mfd/axp20x.h | 32 ++++++++++++++++
3 files changed, 111 insertions(+), 1 deletion(-)
Applied, thanks.

Attachment: OpenPGP_0xE3520CC91929C8E7.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature