summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorThomas Hebb <tommyhebb@gmail.com>2015-07-02 01:04:26 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2015-07-15 20:02:09 +0530
commitdcb54fcb3483862e993abdae99cec22fb3ae4099 (patch)
tree4eb9bef0d9b49caefcf4743a1223149cf1761daa /drivers/phy
parent96696a9df935d15fd2e89603454c20a692ec232a (diff)
downloadlinux-dcb54fcb3483862e993abdae99cec22fb3ae4099.tar.gz
linux-dcb54fcb3483862e993abdae99cec22fb3ae4099.tar.bz2
linux-dcb54fcb3483862e993abdae99cec22fb3ae4099.zip
phy: berlin-usb: fix divider for BG2
The USB PLL divider set by the marvell,berlin2-usb-phy compatible is not correct for BG2. We couldn't change it before because BG2Q incorrectly used the same compatible string. Now that BG2Q's compatible is fixed, change BG2's divider to the correct value. Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> Tested-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-berlin-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c
index ab54f2864451..335e06d66ed9 100644
--- a/drivers/phy/phy-berlin-usb.c
+++ b/drivers/phy/phy-berlin-usb.c
@@ -105,7 +105,7 @@
static const u32 phy_berlin_pll_dividers[] = {
/* Berlin 2 */
- CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
+ CLK_REF_DIV(0x6) | FEEDBACK_CLK_DIV(0x55),
/* Berlin 2CD/Q */
CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
};