]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mfd: macsmc: Wire up Apple SMC input subdevice
authorJames Calligeros <jcalligeros99@gmail.com>
Mon, 15 Dec 2025 09:37:49 +0000 (19:37 +1000)
committerLee Jones <lee@kernel.org>
Thu, 22 Jan 2026 14:22:35 +0000 (14:22 +0000)
Add the new SMC input function to the mfd device

Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Link: https://patch.msgid.link/20251215-macsmc-subdevs-v6-5-0518cb5f28ae@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/macsmc.c

index fa7b822d55bde4792744cf9158026e63ec898dc3..85410f3576030d0e390a260c789254c70ee83b91 100644 (file)
@@ -45,6 +45,7 @@
 #define SMC_TIMEOUT_MS         500
 
 static const struct mfd_cell apple_smc_devs[] = {
+       MFD_CELL_NAME("macsmc-input"),
        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"),