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

index e3893e255ce5e4bb4832d80ad1fc002d413a291a..9099a7a22f1f3edc5103af55c0eca2cbd2e20fa8 100644 (file)
@@ -47,6 +47,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-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),
+       MFD_CELL_OF("macsmc-rtc", NULL, NULL, 0, 0, "apple,smc-rtc"),
 };
 
 static int apple_smc_cmd_locked(struct apple_smc *smc, u64 cmd, u64 arg,