projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59269b9
)
ARM: OMAP4: clock data: fix mult and div mask for USB_DPLL
author
Ameya Palande
<ameya.palande@ti.com>
Wed, 4 Apr 2012 16:19:31 +0000
(10:19 -0600)
committer
Paul Walmsley
<paul@pwsan.com>
Wed, 4 Apr 2012 20:52:49 +0000
(14:52 -0600)
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 <b-cousson@ti.com>
Signed-off-by: Ameya Palande <ameya.palande@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock44xx_data.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/clock44xx_data.c
b/arch/arm/mach-omap2/clock44xx_data.c
index c03c1108468e1a59f5f203de7d092928e06bae79..984904fcd244090e972430bf64ea768a8d45a935 100644
(file)
--- a/
arch/arm/mach-omap2/clock44xx_data.c
+++ b/
arch/arm/mach-omap2/clock44xx_data.c
@@
-957,8
+957,8
@@
static struct dpll_data dpll_usb_dd = {
.modes = (1 << DPLL_LOW_POWER_BYPASS) | (1 << DPLL_LOCKED),
.autoidle_reg = OMAP4430_CM_AUTOIDLE_DPLL_USB,
.idlest_reg = OMAP4430_CM_IDLEST_DPLL_USB,
- .mult_mask = OMAP4430_DPLL_MULT_MASK,
- .div1_mask = OMAP4430_DPLL_DIV_MASK,
+ .mult_mask = OMAP4430_DPLL_MULT_
USB_
MASK,
+ .div1_mask = OMAP4430_DPLL_DIV_
0_7_
MASK,
.enable_mask = OMAP4430_DPLL_EN_MASK,
.autoidle_mask = OMAP4430_AUTO_DPLL_MODE_MASK,
.idlest_mask = OMAP4430_ST_DPLL_CLK_MASK,