diff options
author | Rajendra Nayak <rnayak@ti.com> | 2012-11-02 07:02:58 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-12 21:18:49 -0500 |
commit | 99e7938def490ea68e201578a83cff6248217891 (patch) | |
tree | bda9131b5f6da05610d1623f747fbbdba73feeb1 /arch/arm/mach-omap2/prm2xxx_3xxx.h | |
parent | b4c632953740977d34e8c6f5d11c33a039959762 (diff) |
ARM: OMAP3: clock: Add 3xxx data using common struct clk
The patch is the output from a python script which converts
from the old OMAP clk format to COMMON clk format using a
JSON parser in between which was developed by Paul Walmsley.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[paul@pwsan.com: AM3517/05: dropped bogus hsotgusb "ick" and "fck"
clkdev aliases; added hsotgusb_fck alias; added emac_ick and emac_fck
aliases; replace omap2_init_clksel_parent() with
omap2_clksel_find_parent_index(); reflow macros and parent name
lists; add clkdm_name argument to DEFINE_STRUCT_CLK_HW_OMAP macros]
Signed-off-by: Mike Turquette <mturquette@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm2xxx_3xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/prm2xxx_3xxx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm2xxx_3xxx.h b/arch/arm/mach-omap2/prm2xxx_3xxx.h index 78532d6fecd7..9624b40836d4 100644 --- a/arch/arm/mach-omap2/prm2xxx_3xxx.h +++ b/arch/arm/mach-omap2/prm2xxx_3xxx.h | |||
@@ -152,6 +152,7 @@ extern int omap2_clkdm_clear_all_wkdeps(struct clockdomain *clkdm); | |||
152 | /* Named PRCM_CLKSRC_CTRL on the 24XX */ | 152 | /* Named PRCM_CLKSRC_CTRL on the 24XX */ |
153 | #define OMAP_SYSCLKDIV_SHIFT 6 | 153 | #define OMAP_SYSCLKDIV_SHIFT 6 |
154 | #define OMAP_SYSCLKDIV_MASK (0x3 << 6) | 154 | #define OMAP_SYSCLKDIV_MASK (0x3 << 6) |
155 | #define OMAP_SYSCLKDIV_WIDTH 2 | ||
155 | #define OMAP_AUTOEXTCLKMODE_SHIFT 3 | 156 | #define OMAP_AUTOEXTCLKMODE_SHIFT 3 |
156 | #define OMAP_AUTOEXTCLKMODE_MASK (0x3 << 3) | 157 | #define OMAP_AUTOEXTCLKMODE_MASK (0x3 << 3) |
157 | #define OMAP_SYSCLKSEL_SHIFT 0 | 158 | #define OMAP_SYSCLKSEL_SHIFT 0 |