ARM: DRA7: hwmod: Add custom reset handler for PCIeSS
authorSekhar Nori <nsekhar@ti.com>
Thu, 18 Feb 2016 11:19:56 +0000 (16:49 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 25 Feb 2016 07:17:42 +0000 (00:17 -0700)
commit68a0d38c335bfd180f592e640b25aa5330a1c736
tree4b16b9e8f55cb522c250d7532afd74fb09cbff92
parent486bb43af373014715c75337492e296695a72bf6
ARM: DRA7: hwmod: Add custom reset handler for PCIeSS

Add a custom reset handler for DRA7x PCIeSS. This
handler is required to deassert PCIe hardreset lines
after they have been asserted.

This enables the PCIe driver to access registers after
PCIeSS has been runtime enabled without having to
deassert hardreset lines itself.

With this patch applied, used lspci to make sure
connected PCIe device enumerates on DRA74x and DRA72x
EVMs.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reported-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Suman Anna <s-anna@ti.com>
Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c