[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250619144147.GH795775@google.com>
Date: Thu, 19 Jun 2025 15:41:47 +0100
From: Lee Jones <lee@...nel.org>
To: Alex Elder <elder@...cstar.com>
Cc: lgirdwood@...il.com, broonie@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, dlan@...too.org,
paul.walmsley@...ive.com, palmer@...belt.com, aou@...s.berkeley.edu,
alex@...ti.fr, troymitchell988@...il.com, guodong@...cstar.com,
devicetree@...r.kernel.org, linux-riscv@...ts.infradead.org,
spacemit@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/6] mfd: spacemit: add support for SpacemiT PMICs
On Thu, 19 Jun 2025, Lee Jones wrote:
> On Fri, 13 Jun 2025, Alex Elder wrote:
>
> > Add support for SpacemiT PMICs. Initially only the P1 PMIC is supported
> > but the driver is structured to allow support for others to be added.
> >
> > The P1 PMIC is controlled by I2C, and is normally implemented with the
> > SpacemiT K1 SoC. This PMIC provides six buck converters and 12 LDO
>
> six or 12. Please pick a format and remain consistent.
>
> > regulators. It also implements a switch, watchdog timer, real-time clock,
> > and more, but initially we will only support its regulators.
>
> You have to provide support for more than one device for this to be
> accepted into MFD.
>
> > Signed-off-by: Alex Elder <elder@...cstar.com>
> > ---
> > drivers/mfd/Kconfig | 11 +++++
> > drivers/mfd/Makefile | 1 +
> > drivers/mfd/spacemit-pmic.c | 91 +++++++++++++++++++++++++++++++++++++
> > 3 files changed, 103 insertions(+)
> > create mode 100644 drivers/mfd/spacemit-pmic.c
Right now, it looks like all you need is:
drivers/mfd/simple-mfd-i2c.c
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists