diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-14 08:44:55 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-14 08:44:55 +0900 |
commit | b6b77b2d5ffd2f8ee74fcc27661f7f4962c34705 (patch) | |
tree | c4596337ce521cd5be2f96af85ccbe88b76c4d80 /arch/sh/include/mach-sdk7786 | |
parent | 61a46766c9d5d8fb5dad23da1b7cc4cb8b0107da (diff) | |
download | op-kernel-dev-b6b77b2d5ffd2f8ee74fcc27661f7f4962c34705.zip op-kernel-dev-b6b77b2d5ffd2f8ee74fcc27661f7f4962c34705.tar.gz |
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>
Diffstat (limited to 'arch/sh/include/mach-sdk7786')
-rw-r--r-- | arch/sh/include/mach-sdk7786/mach/fpga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/mach-sdk7786/mach/fpga.h b/arch/sh/include/mach-sdk7786/mach/fpga.h index 8cc7841..b7d9369 100644 --- a/arch/sh/include/mach-sdk7786/mach/fpga.h +++ b/arch/sh/include/mach-sdk7786/mach/fpga.h @@ -39,7 +39,7 @@ #define PCIECR_PRST3 BIT(11) /* slot 3 card present */ #define PCIECR_PRST2 BIT(10) /* slot 2 card present */ #define PCIECR_PRST1 BIT(9) /* slot 1 card present */ -#define PCIECR_CLKEN BIT(4) +#define PCIECR_CLKEN BIT(4) /* oscillator enable */ #define FAER 0x150 #define USRGPIR 0x160 |