devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pci: am57xx-evm: Fix PCIe card enumeration issue
@ 2015-07-28 13:39 Kishon Vijay Abraham I
  2015-07-28 13:39 ` [PATCH 1/2] pci: host: pci-dra7xx: Add support to make gpio drive PERST# line Kishon Vijay Abraham I
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kishon Vijay Abraham I @ 2015-07-28 13:39 UTC (permalink / raw)
  To: bhelgaas, linux-omap, linux-pci, devicetree, linux-kernel,
	linux-arm-kernel, tony
  Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak,
	bcousson, linux, kishon, nsekhar

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-11 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 13:39 [PATCH 0/2] pci: am57xx-evm: Fix PCIe card enumeration issue Kishon Vijay Abraham I
2015-07-28 13:39 ` [PATCH 1/2] pci: host: pci-dra7xx: Add support to make gpio drive PERST# line Kishon Vijay Abraham I
2015-07-28 13:39 ` [PATCH 2/2] ARM: dts: am57xx-evm: Add 'gpios' property with gpio2_8 Kishon Vijay Abraham I
2015-08-05 10:40   ` Tony Lindgren
2015-08-11 21:02 ` [PATCH 0/2] pci: am57xx-evm: Fix PCIe card enumeration issue Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).