[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <pqjz6jyfsoaf5matffwsly7ba6xwbw5fsumokmpow6eox7vjdx@fbuxkcjjyh6n>
Date: Sun, 22 Jun 2025 02:50:26 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Sven Peter <sven@...nel.org>
Cc: Lee Jones <lee@...nel.org>, Bartosz Golaszewski <brgl@...ev.pl>,
Linus Walleij <linus.walleij@...aro.org>, Janne Grunau <j@...nau.net>,
Alyssa Rosenzweig <alyssa@...enzweig.io>, Neal Gompa <neal@...pa.dev>, Hector Martin <marcan@...can.st>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Marc Zyngier <maz@...nel.org>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>, asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH v7 05/10] mfd: Add Apple Silicon System Management
Controller
Hi,
On Sat, Jun 21, 2025 at 05:51:33PM +0200, Sven Peter wrote:
> On 19.06.25 13:49, Lee Jones wrote:
> > On Tue, 10 Jun 2025, Sven Peter wrote:
> >
> > > The System Management Controller (SMC) on Apple Silicon machines is a
> > > piece of hardware that exposes various functionalities such as
> > > temperature sensors, voltage/power meters, shutdown/reboot handling,
> > > GPIOs and more.
> > >
> > > Communication happens via a shared mailbox using the RTKit protocol
> > > which is also used for other co-processors. The SMC protocol then allows
> > > reading and writing many different keys which implement the various
> > > features. The MFD core device handles this protocol and exposes it
> > > to the sub-devices.
> > >
> > > Some of the sub-devices are potentially also useful on pre-M1 Apple
> > > machines and support for SMCs on these machines can be added at a later
> > > time.
> > >
> > > Co-developed-by: Hector Martin <marcan@...can.st>
> > > Signed-off-by: Hector Martin <marcan@...can.st>
> > > Reviewed-by: Alyssa Rosenzweig <alyssa@...enzweig.io>
> > > Reviewed-by: Neal Gompa <neal@...pa.dev>
> > > Signed-off-by: Sven Peter <sven@...nel.org>
> > > ---
> > > MAINTAINERS | 2 +
> > > drivers/mfd/Kconfig | 18 ++
> > > drivers/mfd/Makefile | 1 +
> > > drivers/mfd/macsmc.c | 498 +++++++++++++++++++++++++++++++++++++++++++++
> > > include/linux/mfd/macsmc.h | 279 +++++++++++++++++++++++++
> > > 5 files changed, 798 insertions(+)
> >
> > This is ready. Let me know when you have all of the other driver/* Acks.
> >
>
> They've all been reviewed by the respective maintainers.
>
> I assume you want to take this all through the mfd tree and we'll need acks
> from Sebastian for power/reset and either Linus or Bartosz for gpio then.
>
> The one line change inside drivers/soc/apple would usually go through my
> tree and I'm fine with taking that through mfd instead.
I'm fine with the power/reset driver going through mfd once the
recent probe discussion has been solved.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists