Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: berlin-usb: fix divider for BG2CD

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>
Cc: stable@vger.kernel.org
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Thomas Hebb and committed by
Kishon Vijay Abraham I
96696a9d 1c4b1d1d

+2 -2
+2 -2
drivers/phy/phy-berlin-usb.c
··· 106 106 static const u32 phy_berlin_pll_dividers[] = { 107 107 /* Berlin 2 */ 108 108 CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54), 109 - /* Berlin 2CD */ 110 - CLK_REF_DIV(0x6) | FEEDBACK_CLK_DIV(0x55), 109 + /* Berlin 2CD/Q */ 110 + CLK_REF_DIV(0xc) | FEEDBACK_CLK_DIV(0x54), 111 111 }; 112 112 113 113 struct phy_berlin_usb_priv {