On Mon, 17 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. > > Signed-off-by: Shengyu Qu <wiagn233@xxxxxxxxxxx> > --- > drivers/mfd/axp20x-i2c.c | 2 + > drivers/mfd/axp20x.c | 90 ++++++++++++++++++++++++++++++++++++++ > include/linux/mfd/axp20x.h | 85 +++++++++++++++++++++++++++++++++++ > 3 files changed, 177 insertions(+) Doesn't apply. Please rebase and resend with this applied: Reviewed-by: Lee Jones <lee@xxxxxxxxxx> -- Lee Jones [李琼斯]