]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0a9a4cbd7206b6cafc4b94ded30b0c507960d112
tree4b16b9e8f55cb522c250d7532afd74fb09cbff92
parent0e518c4e559c6c1175aa0de83385a0532b166ad9
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