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 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>

authored by

Thomas Hebb and committed by
Kishon Vijay Abraham I
dcb54fcb 96696a9d

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