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

From: Kishon Vijay Abraham I
Date: Tue Jul 28 2015 - 09:41:28 EST


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(-)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/