[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a694de5a-50d3-4637-a8c3-f90971bf33f8@riscstar.com>
Date: Fri, 20 Jun 2025 09:10:45 -0500
From: Alex Elder <elder@...cstar.com>
To: Lee Jones <lee@...nel.org>
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 6/19/25 9:41 AM, Lee Jones wrote:
> 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
Now *that* is a good suggestion. I'll look at that now and will use
that if I can.
Thanks.
-Alex
Powered by blists - more mailing lists