]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: Add macsmc-power driver for Apple Silicon
authorHector Martin <marcan@marcan.st>
Tue, 17 Feb 2026 10:47:25 +0000 (21:47 +1100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 3 Mar 2026 22:58:07 +0000 (23:58 +0100)
commit0ebf821cf6c75de2d95d3db277617ec685498e7c
tree0ffb4f99a6ff56664e5b23a8a2b2c59735385d3f
parent5c2ffc0b215a884dbc961d4737f636067348b8bd
power: supply: Add macsmc-power driver for Apple Silicon

This driver provides battery and AC status monitoring for Apple Silicon
Macs via the SMC (System Management Controller). It supports reporting
capacity, voltage, current, and charging status, and modifying the
charging behaviour across multiple generations of SMC firmware.

Signed-off-by: Hector Martin <marcan@marcan.st>
Co-developed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Co-developed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Sven Peter <sven@kernel.org>
Co-developed-by: Michael Reeves <michael.reeves077@gmail.com>
Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Link: https://patch.msgid.link/20260217-b4-macsmc-power-v7-1-4a4d63664362@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
MAINTAINERS
drivers/power/supply/Kconfig
drivers/power/supply/Makefile
drivers/power/supply/macsmc-power.c [new file with mode: 0644]