projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: add clkdev lookup support
[openwrt/openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-4.4
/
348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
diff --git
a/target/linux/brcm63xx/patches-4.4/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
b/target/linux/brcm63xx/patches-4.4/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
index 10edbc4dda0524c8988d105bcc57b92f7d5d285a..0b8a5a170603f456313eb6654992d4de7df98faf 100644
(file)
--- a/
target/linux/brcm63xx/patches-4.4/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
+++ b/
target/linux/brcm63xx/patches-4.4/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch
@@
-24,7
+24,7
@@
#define STRAPBUS_6328_FCVO_MASK (0x1f << STRAPBUS_6328_FCVO_SHIFT)
--- a/arch/mips/bcm63xx/clk.c
+++ b/arch/mips/bcm63xx/clk.c
#define STRAPBUS_6328_FCVO_MASK (0x1f << STRAPBUS_6328_FCVO_SHIFT)
--- a/arch/mips/bcm63xx/clk.c
+++ b/arch/mips/bcm63xx/clk.c
-@@ -6
2,6 +62
,26 @@ static void bcm_ub_hwclock_set(u32 mask,
+@@ -6
3,6 +63
,26 @@ static void bcm_ub_hwclock_set(u32 mask,
bcm_perf_writel(reg, PERF_UB_CKCTL_REG);
}
bcm_perf_writel(reg, PERF_UB_CKCTL_REG);
}
@@
-51,7
+51,7
@@
/*
* Ethernet MAC "misc" clock: dma clocks and main clock on 6348
*/
/*
* Ethernet MAC "misc" clock: dma clocks and main clock on 6348
*/
-@@ -
199,7 +219
,17 @@ static void usbh_set(struct clk *clk, in
+@@ -
235,7 +255
,17 @@ static void usbh_set(struct clk *clk, in
} else if (BCMCPU_IS_6368()) {
bcm_hwclock_set(CKCTL_6368_USBH_EN, enable);
} else if (BCMCPU_IS_63268()) {
} else if (BCMCPU_IS_6368()) {
bcm_hwclock_set(CKCTL_6368_USBH_EN, enable);
} else if (BCMCPU_IS_63268()) {