Skip to content

Commit 77cb8f2

Browse files
committed
mfd: macsmc: Add second gpio subdevice for 'gp00' keys
Apple M3 Pro and Max devices are using 'gp00' keys for GPIO in addition to 'gP00' keys. These keys are handled by an additional macsmc-gpio instance using the "apple,smc-low-gpio" compatible. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 6081dfc commit 77cb8f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/mfd/macsmc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ static const struct mfd_cell apple_smc_devs[] = {
4848
MFD_CELL_NAME("macsmc-input"),
4949
MFD_CELL_NAME("macsmc-power"),
5050
MFD_CELL_OF("macsmc-gpio", NULL, NULL, 0, 0, "apple,smc-gpio"),
51+
MFD_CELL_OF("macsmc-low-gpio", NULL, NULL, 0, 0, "apple,smc-low-gpio"),
5152
MFD_CELL_OF("macsmc-hwmon", NULL, NULL, 0, 0, "apple,smc-hwmon"),
5253
MFD_CELL_OF("macsmc-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),
5354
MFD_CELL_OF("macsmc-rtc", NULL, NULL, 0, 0, "apple,smc-rtc"),

0 commit comments

Comments
 (0)