Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

James Calligeros and committed by
Lee Jones
0ec4122f 5dce1c0b

+1
+1
drivers/mfd/macsmc.c
··· 45 45 #define SMC_TIMEOUT_MS 500 46 46 47 47 static const struct mfd_cell apple_smc_devs[] = { 48 + MFD_CELL_NAME("macsmc-input"), 48 49 MFD_CELL_OF("macsmc-gpio", NULL, NULL, 0, 0, "apple,smc-gpio"), 49 50 MFD_CELL_OF("macsmc-hwmon", NULL, NULL, 0, 0, "apple,smc-hwmon"), 50 51 MFD_CELL_OF("macsmc-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),