]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mfd: macsmc: Wire up Apple SMC hwmon subdevice
authorJames Calligeros <jcalligeros99@gmail.com>
Mon, 15 Dec 2025 09:37:47 +0000 (19:37 +1000)
committerLee Jones <lee@kernel.org>
Thu, 22 Jan 2026 14:22:32 +0000 (14:22 +0000)
Add the SMC hwmon functionality 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-3-0518cb5f28ae@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/macsmc.c

index 9099a7a22f1f3edc5103af55c0eca2cbd2e20fa8..fa7b822d55bde4792744cf9158026e63ec898dc3 100644 (file)
@@ -46,6 +46,7 @@
 
 static const struct mfd_cell apple_smc_devs[] = {
        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"),
        MFD_CELL_OF("macsmc-rtc", NULL, NULL, 0, 0, "apple,smc-rtc"),
 };