Skip to content

Commit

Permalink
phy: berlin-usb: fix divider for BG2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Hebb authored and Kishon Vijay Abraham I committed Jul 15, 2015
1 parent 96696a9 commit dcb54fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/phy/phy-berlin-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down

0 comments on commit dcb54fc

Please sign in to comment.