Skip to content

Commit 91a290c

Browse files
Ameya PalandePaul Walmsley
authored andcommitted
ARM: OMAP4: clock data: fix mult and div mask for USB_DPLL
According to OMAP4 TRM Table 3-1183, CM_CLKSEL_DPLL_USB register defines following fields for multiplication and division factors: DPLL_MULT (bits 19:8) DPLL multiplier factor (2 to 4095) DPLL_DIV (bits 7:0) DPLL divider factor (0 to 255) Acked-by: Benoit Cousson <[email protected]> Signed-off-by: Ameya Palande <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent 59269b9 commit 91a290c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/mach-omap2/clock44xx_data.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,8 +957,8 @@ static struct dpll_data dpll_usb_dd = {
957957
.modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED),
958958
.autoidle_reg = OMAP4430_CM_AUTOIDLE_DPLL_USB,
959959
.idlest_reg = OMAP4430_CM_IDLEST_DPLL_USB,
960-
.mult_mask = OMAP4430_DPLL_MULT_MASK,
961-
.div1_mask = OMAP4430_DPLL_DIV_MASK,
960+
.mult_mask = OMAP4430_DPLL_MULT_USB_MASK,
961+
.div1_mask = OMAP4430_DPLL_DIV_0_7_MASK,
962962
.enable_mask = OMAP4430_DPLL_EN_MASK,
963963
.autoidle_mask = OMAP4430_AUTO_DPLL_MODE_MASK,
964964
.idlest_mask = OMAP4430_ST_DPLL_CLK_MASK,

0 commit comments

Comments
 (0)