[PATCH v3 04/13] mfd: macsmc: Wire up Apple SMC RTC subdevice

James Calligeros jcalligeros99 at gmail.com
Tue Oct 7 04:16:45 PDT 2025


Add the new SMC RTC function to the mfd device

Reviewed-by: Neal Gompa <neal at gompa.dev>
Signed-off-by: James Calligeros <jcalligeros99 at gmail.com>
---
 drivers/mfd/macsmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/macsmc.c b/drivers/mfd/macsmc.c
index e6cdae221f1d..500395bb48da 100644
--- a/drivers/mfd/macsmc.c
+++ b/drivers/mfd/macsmc.c
@@ -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,

-- 
2.51.0




More information about the linux-arm-kernel mailing list