PCI: apple: Add support for optional PWREN GPIO
authorHector Martin <marcan@marcan.st>
Sun, 6 Feb 2022 12:18:18 +0000 (21:18 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:55:01 +0000 (10:55 -0700)
commit029d00a4c607d61c8c609aaec380694d2f13cb10
treeb03cebd53f52e7af920629e7a12d7928f599168d
parentf1cda430f12a9eb44ea494d5f50db48ef5c84af7
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