aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/fixups-sdk7786.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-10-14sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786.Paul Mundt1-1/+0
The SDK7786 FPGA has secondary control over the PCIe clocks, specifically relating to the slots and oscillator. This ties the FPGA clocks in to the clock framework and balances the refcounting similar to how the primary on-chip clocks are managed. While the on-chip clocks are per-port, the FPGA clock enable/disable is global for the entire block. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-10-14sh: pci: Support slot 4 routing on SDK7786.Paul Mundt1-0/+68
SDK7786 supports connecting either slot3 or 4 to the same PCIe port by way of FPGA muxing. By default the vertical slot 3 on the baseboard is enabled, so this adds in a command line option for forcibly enabling the slot 4 edge connector. If nothing has been specified on the command line, we fall back to reading the resistor values for card presence to figure out where to route the port to. Signed-off-by: Paul Mundt <lethal@linux-sh.org>