summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap
diff options
context:
space:
mode:
authorRichard Woodruff <r-woodruff2@ti.com>2010-02-22 22:09:08 -0700
committerPaul Walmsley <paul@pwsan.com>2010-02-24 12:15:02 -0700
commit358965d7bab9c70c11b64931da02667b161cb03a (patch)
tree884a13c783f9ba43cc5fe063c5fbeecde7804f58 /arch/arm/plat-omap
parent91808a81fe7cc8a786b575ebc2d102c59d83c1a7 (diff)
downloadblackbird-op-linux-358965d7bab9c70c11b64931da02667b161cb03a.tar.gz
blackbird-op-linux-358965d7bab9c70c11b64931da02667b161cb03a.zip
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.h5
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 {
const struct clksel_rate *rates;
};
+/*
+ * A new flag called flag has been added which indicates what is the
+ * type of dpll (like j_type, no_dco_sel)
+ */
struct dpll_data {
void __iomem *mult_div1_reg;
u32 mult_mask;
@@ -67,6 +71,7 @@ struct dpll_data {
u8 auto_recal_bit;
u8 recal_en_bit;
u8 recal_st_bit;
+ u8 flags;
# endif
};
OpenPOWER on IntegriCloud