]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: macsmc: Wire up Apple SMC power driver
authorHector Martin <marcan@marcan.st>
Tue, 17 Feb 2026 10:47:26 +0000 (21:47 +1100)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:45:13 +0000 (12:45 +0000)
Add the cell for the macsmc-power driver so it is probed by the
MFD core.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Sven Peter <sven@kernel.org>
Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Link: https://patch.msgid.link/20260217-b4-macsmc-power-v7-2-4a4d63664362@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/macsmc.c

index 1b7e7b3e785f277b4c0630cd8f69bd855f1723eb..358feec2d088fcba36eb656a8ea472b91d9d5614 100644 (file)
@@ -46,6 +46,7 @@
 
 static const struct mfd_cell apple_smc_devs[] = {
        MFD_CELL_NAME("macsmc-input"),
+       MFD_CELL_NAME("macsmc-power"),
        MFD_CELL_OF("macsmc-gpio", NULL, NULL, 0, 0, "apple,smc-gpio"),
        MFD_CELL_OF("macsmc-hwmon", NULL, NULL, 0, 0, "apple,smc-hwmon"),
        MFD_CELL_OF("macsmc-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),