PCI: imx6: Add pci host wakeup support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 9 repliesIn review
- v14 patches 7 repliesSuperseded
Changes in v2 from the cover letter
1. Rename host-wake-gpio property to wake-gpios.
2. Improve the wake-gpios property description in the dt-binding doc to avoid confusion.
3. Remove unnecessary debugging info in host_wake_irq_handler().
4. Remove unnecessary imx6_pcie->host_wake_irq = -1 resetting in error paths.
5. Use dev_err_probe() to simplify error path code.
---
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PCI: imx6: Add pci host wakeup support on imx platforms.drivers/ | +60 | 2 replies | |
| 2/4 | dt-bindings: imx6q-pcie: Add wake-gpios propertyDocumentation/ | +6 | 4 replies | |
| 3/4 | arm64: dts: imx8mp-evk: add wake-gpios property for pci busarch/ | +2 | 0 replies | |
| 4/4 | arm64: dts: imx8mq-evk: add wake-gpios property for pci busarch/ | +2 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Richard Zhu |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/4] PCI: imx6: Add pci host wakeup support
Add pci host wakeup feature for imx platforms. The host wake pin is a standard feature in the PCIe bus specification, so we can add this property under PCI dts node to support the host gpio wakeup feature.
Example of configuring the corresponding dts property under the PCI node:
wake-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
---
changes in V2:
1. Rename host-wake-gpio property to wake-gpios.
2. Improve the wake-gpios property description in the dt-binding doc to avoid confusion.
3. Remove unnecessary debugging info in host_wake_irq_handler().
4. Remove unnecessary imx6_pcie->host_wake_irq = -1 resetting in error paths.
5. Use dev_err_probe() to simplify error path code.
---
Sherry Sun (4):
PCI: imx6: Add pci host wakeup support on imx platforms.
dt-bindings: imx6q-pcie: Add wake-gpios property
arm64: dts: imx8mp-evk: add wake-gpios property for pci bus
arm64: dts: imx8mq-evk: add wake-gpios property for pci bus
.../bindings/pci/fsl,imx6q-pcie.yaml | 6 ++ arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 + arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 + drivers/pci/controller/dwc/pci-imx6.c | 60 +++++++++++++++++++ 4 files changed, 70 insertions(+)
Signature · 1 line
2.34.1