Skip to content

pci: am57xx-evm: Fix PCIe card enumeration issue

Kishon Vijay Abraham I linux-arm-kernel linux-devicetree linux-omap linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pci: host: pci-dra7xx: Add support to make gpio drive PERST# lineDocumentation/devicetree/bindings/pci/ti-pci.txt drivers/pci/host/pci-dra7xx.c+25 -20 replies
2/2ARM: dts: am57xx-evm: Add 'gpios' property with gpio2_8arch/arm/boot/dts/am57xx-beagle-x15.dts arch/arm/boot/dts/dra7.dtsi+6 -11 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] pci: am57xx-evm: Fix PCIe card enumeration issue

This series fixes PCIe card enumeration issue in am57xx-evm.

In the case of am57xx-evm, the PERST# line is connected to a gpio line and this has to be driven low in order to perform a fundamental reset of the card. If the gpio line is driven high, there is no way the card can come out of reset.

Add support in the pcie-dra7xx driver to make gpio drive PERST# line.

The PERST# line can be used to perform reset not during the power on sequence too (warm reset) but we are not adding support for this as the PCIe express base sepcification doesn't explain how to perform warm reset

"In some cases, it may be possible for the Fundamental Reset mechanism to be triggered by hardware without the removal and re-application of power to the component. This is called a warm reset. This document does not specify a means for generating a warm reset."

Kishon Vijay Abraham I (2):
pci: host: pci-dra7xx: Add support to make gpio drive PERST# line
ARM: dts: am57xx-evm: Add 'gpios' property with gpio2_8

 Documentation/devicetree/bindings/pci/ti-pci.txt |    3 +++
 arch/arm/boot/dts/am57xx-beagle-x15.dts          |    5 +++++
 arch/arm/boot/dts/dra7.dtsi                      |    2 +-
 drivers/pci/host/pci-dra7xx.c                    |   24 ++++++++++++++++++++--
 4 files changed, 31 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.9.5