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)
commit1c96bee4df1998b9dec3e2ef8f77e8436e29342b
tree4b16b9e8f55cb522c250d7532afd74fb09cbff92
parent4321dc8dff356cdc852936fcfb443463b504890d
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