[PATCH 5/7] platform/apple: Add new Apple Mac SMC driver

Sven Peter sven at svenpeter.dev
Tue Sep 6 06:39:10 PDT 2022


On Tue, Sep 6, 2022, at 15:19, Russell King wrote:
> From: Hector Martin <marcan at marcan.st>
>
> This driver implements support for the SMC (System Management
> Controller) in Apple Macs. In contrast to the existing applesmc driver,
> it uses pluggable backends that allow it to support different SMC
> implementations, and uses the MFD subsystem to expose the core SMC
> functionality so that specific features (gpio, hwmon, battery, etc.) can
> be implemented by separate drivers in their respective downstream
> subsystems.
>
> The initial RTKit backend adds support for Apple Silicon Macs (M1 et
> al). We hope a backend for T2 Macs will be written in the future
> (since those are not supported by applesmc), and eventually an x86
> backend would allow us to fully deprecate applesmc in favor of this
> driver.
>
> Signed-off-by: Hector Martin <marcan at marcan.st>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Reviewed-by: Sven Peter <sven at svenpeter.dev>



More information about the linux-arm-kernel mailing list