diff options
author | Richard Woodruff <r-woodruff2@ti.com> | 2010-02-23 00:09:08 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-02-24 14:15:02 -0500 |
commit | 358965d7bab9c70c11b64931da02667b161cb03a (patch) | |
tree | 884a13c783f9ba43cc5fe063c5fbeecde7804f58 /arch/arm/plat-omap | |
parent | 91808a81fe7cc8a786b575ebc2d102c59d83c1a7 (diff) |
OMAP3 clock: introduce DPLL4 Jtype
DPLL4 for 3630 introduces a changed block called j type dpll, requiring
special divisor bits and additional reg fields. To allow for silicons to
use this, this is introduced as a flag and is enabled for 3630 silicon.
OMAP4 also has j type dpll for usb.
Tested with 3630 ZOOM3 and OMAP3430 ZOOM2
Signed-off-by: Richard Woodruff <r-woodruff2@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Vishwanath BS <Vishwanath.bs@ti.com>
[paul@pwsan.com: added some comments; updated copyrights and credits; fixed
some style issues]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/clock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/clock.h b/arch/arm/plat-omap/include/plat/clock.h index e49162469791..f5f30c73db33 100644 --- a/arch/arm/plat-omap/include/plat/clock.h +++ b/arch/arm/plat-omap/include/plat/clock.h | |||
@@ -41,6 +41,10 @@ struct clksel { | |||
41 | const struct clksel_rate *rates; | 41 | const struct clksel_rate *rates; |
42 | }; | 42 | }; |
43 | 43 | ||
44 | /* | ||
45 | * A new flag called flag has been added which indicates what is the | ||
46 | * type of dpll (like j_type, no_dco_sel) | ||
47 | */ | ||
44 | struct dpll_data { | 48 | struct dpll_data { |
45 | void __iomem *mult_div1_reg; | 49 | void __iomem *mult_div1_reg; |
46 | u32 mult_mask; | 50 | u32 mult_mask; |
@@ -67,6 +71,7 @@ struct dpll_data { | |||
67 | u8 auto_recal_bit; | 71 | u8 auto_recal_bit; |
68 | u8 recal_en_bit; | 72 | u8 recal_en_bit; |
69 | u8 recal_st_bit; | 73 | u8 recal_st_bit; |
74 | u8 flags; | ||
70 | # endif | 75 | # endif |
71 | }; | 76 | }; |
72 | 77 | ||