phy: berlin-usb: fix divider for BG2
authorThomas Hebb <tommyhebb@gmail.com>
Thu, 2 Jul 2015 05:04:26 +0000 (01:04 -0400)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 15 Jul 2015 14:32:09 +0000 (20:02 +0530)
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>
drivers/phy/phy-berlin-usb.c

index ab54f28644510025f55942bb8b7903b71d2ba98f..335e06d66ed9a5100cbdda511e6c206238651814 100644 (file)
 
 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),
 };