PCI: apple: Add support for optional PWREN GPIO
authorHector Martin <marcan@marcan.st>
Sun, 6 Feb 2022 12:18:18 +0000 (21:18 +0900)
committerHector Martin <marcan@marcan.st>
Sat, 19 Feb 2022 08:17:43 +0000 (17:17 +0900)
commit30a3da2b644baf54898bf812c315b2d9b78e3bcf
tree11a4d5c9a55f2ccc7a4664b2eac37043fd84ec9e
parente32bc8c035a6e7e0f0a63c2550672341c86746c3
PCI: apple: Add support for optional PWREN GPIO

WiFi and SD card devices on M1 Macs have a separate power enable GPIO.
Add support for this to the PCIe controller. This is modeled after how
pcie-fu740 does it.

Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/pci/controller/pcie-apple.c