]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 23:44:55 +0000 (08:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 23:44:55 +0000 (08:44 +0900)
commitb6b77b2d5ffd2f8ee74fcc27661f7f4962c34705
treec4596337ce521cd5be2f96af85ccbe88b76c4d80
parent61a46766c9d5d8fb5dad23da1b7cc4cb8b0107da
sh: pci: Support secondary FPGA-driven PCIe clocks on SDK7786.

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>
arch/sh/boards/mach-sdk7786/setup.c
arch/sh/drivers/pci/fixups-sdk7786.c
arch/sh/drivers/pci/pcie-sh7786.c
arch/sh/include/mach-sdk7786/mach/fpga.h