[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260105-b4-macsmc-power-v1-2-62954c42a555@gmail.com>
Date: Mon, 05 Jan 2026 23:56:37 +1100
From: Michael Reeves via B4 Relay <devnull+michael.reeves077.gmail.com@...nel.org>
To: Sebastian Reichel <sre@...nel.org>, Sven Peter <sven@...nel.org>,
Janne Grunau <j@...nau.net>, Neal Gompa <neal@...pa.dev>,
Lee Jones <lee@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
Michael Reeves <michael.reeves077@...il.com>,
Hector Martin <marcan@...can.st>
Subject: [PATCH 2/2] mfd: macsmc: Wire up Apple SMC power driver
From: Michael Reeves <michael.reeves077@...il.com>
Add the cell for the macsmc-power driver so it is probed by the
MFD core.
Co-developed-by: Hector Martin <marcan@...can.st>
Signed-off-by: Hector Martin <marcan@...can.st>
Signed-off-by: Michael Reeves <michael.reeves077@...il.com>
---
drivers/mfd/macsmc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/macsmc.c b/drivers/mfd/macsmc.c
index e3893e255ce5..061b43fc842d 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-power"),
MFD_CELL_OF("macsmc-gpio", NULL, NULL, 0, 0, "apple,smc-gpio"),
MFD_CELL_OF("macsmc-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),
};
--
2.51.2
Powered by blists - more mailing lists