PCI: apple: PWREN GPIO support & related fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: apple: GPIO handling nitfixesdrivers/ | +4 | 3 replies | |
| 2/3 | PCI: apple: Probe all GPIOs for availability firstdrivers/ | +24 | 1 reply | |
| 3/3 | PCI: apple: Add support for optional PWREN GPIOdrivers/ | +32 | 8 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Marc Zyngier |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] PCI: apple: PWREN GPIO support & related fixes
Hi all,
This short series adds support for the PWREN GPIO to the Apple PCIe controller driver, and along the way fixes some GPIO handling issues which cropped up.
Since the PWREN GPIO is provided by SMC which is a fairly high level driver, PCI can probe before it is ready. Worse, only some devices need PWREN, which can make the probe fail halfway through with some ports initialized and not others, which the driver cannot recover gracefully from. The second patch fixes this situation, so probe deferral works properly in these cases. The third patch adds PWREN support per se, and the first one is just related stuff I noticed while writing this.
Hector Martin (3):
PCI: apple: GPIO handling nitfixes
PCI: apple: Probe all GPIOs for availability first
PCI: apple: Add support for optional PWREN GPIO
drivers/pci/controller/pcie-apple.c | 67 ++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1