Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions drivers/mfd/macsmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,15 @@ static const struct mfd_cell apple_smc_described_devs[] = {

/*
* T6050's reboot/power-off and RTC, for a kernel that owns the machine (J775D, booted bare
* metal). Registered only where the device tree describes them, so a T6050 device tree without
* them registers what it did before.
* metal), and the gP GPIO bank, which carries the J716s's N1 power line (gP13, the pwren-gpios
* of its Wi-Fi/Bluetooth port). Registered only where the device tree describes them, so a T6050
* device tree without them registers what it did before. The gP bank has a cell name of its own:
* "macsmc-gpio" is the PCIO bank's, and the driver binds both by compatible.
*/
static const struct mfd_cell apple_smc_t6050_described_devs[] = {
MFD_CELL_OF("macsmc-reboot", NULL, NULL, 0, 0, "apple,smc-reboot"),
MFD_CELL_OF("macsmc-rtc", NULL, NULL, 0, 0, "apple,smc-rtc"),
MFD_CELL_OF("macsmc-gp-gpio", NULL, NULL, 0, 0, "apple,smc-gpio"),
};

static int apple_smc_add_described_devices(struct apple_smc *smc, const struct mfd_cell *cells,
Expand Down