]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
phy: berlin-usb: fix divider for BG2CD
authorThomas Hebb <tommyhebb@gmail.com>
Thu, 2 Jul 2015 05:04:18 +0000 (01:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Aug 2015 16:29:05 +0000 (09:29 -0700)
commit 96696a9df935d15fd2e89603454c20a692ec232a upstream.

The marvell,berlin2cd-usb-phy compatible incorrectly sets the PLL
divider to BG2's value instead of BG2CD/BG2Q's. Change it to the right
value.

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/phy-berlin-usb.c

index c6fc95b530835569b040f193f6cf051f7198f7b9..ab54f28644510025f55942bb8b7903b71d2ba98f 100644 (file)
 static const u32 phy_berlin_pll_dividers[] = {
        /* Berlin 2 */
        CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
-       /* Berlin 2CD */
-       CLK_REF_DIV(0x6) | FEEDBACK_CLK_DIV(0x55),
+       /* Berlin 2CD/Q */
+       CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54),
 };
 
 struct phy_berlin_usb_priv {