projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6ac50
)
MIPS: lantiq: enable pci clk conditional for xrx200 SoC
author
John Crispin
<blogic@openwrt.org>
Thu, 16 Aug 2012 08:25:42 +0000
(08:25 +0000)
committer
John Crispin
<blogic@openwrt.org>
Wed, 22 Aug 2012 22:08:18 +0000
(
00:08
+0200)
The xrx200 SoC family has the same PCI clock register layout as the AR9.
Enable the same quirk as for AR9
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4235/
arch/mips/lantiq/xway/sysctrl.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/lantiq/xway/sysctrl.c
b/arch/mips/lantiq/xway/sysctrl.c
index befbb760ab766aee198df2dfd2ff66d0bd1832d3..67c3a91e54e7eb2a2527847453170577b5e5b3ce 100644
(file)
--- a/
arch/mips/lantiq/xway/sysctrl.c
+++ b/
arch/mips/lantiq/xway/sysctrl.c
@@
-145,7
+145,8
@@
static int pci_enable(struct clk *clk)
{
unsigned int val = ltq_cgu_r32(ifccr);
/* set bus clock speed */
- if (of_machine_is_compatible("lantiq,ar9")) {
+ if (of_machine_is_compatible("lantiq,ar9") ||
+ of_machine_is_compatible("lantiq,vr9")) {
val &= ~0x1f00000;
if (clk->rate == CLOCK_33M)
val |= 0xe00000;