summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Calligeros <jcalligeros99@gmail.com>2025-12-15 12:37:49 +0300
committerLee Jones <lee@kernel.org>2026-01-22 17:22:35 +0300
commit0ec4122f003ea8b7baca01fae71cfa5ffe0c5663 (patch)
treea4efc3cc9a92af5dc18916291db60962cc0c1564
parent5dce1c0bff744fd3a3be2fbbfe13e1d264d1d45e (diff)
downloadlinux-0ec4122f003ea8b7baca01fae71cfa5ffe0c5663.tar.xz
mfd: macsmc: Wire up Apple SMC input subdevice
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>
-rw-r--r--drivers/mfd/macsmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/macsmc.c b/drivers/mfd/macsmc.c
index fa7b822d55bd..85410f357603 100644
--- a/drivers/mfd/macsmc.c
+++ b/drivers/mfd/macsmc.c
@@ -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"),