diff options
author | Sergio Aguirre <saaguirre@ti.com> | 2009-01-27 21:13:09 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 12:50:27 -0500 |
commit | 6c8fe0b954b198d8e9116b824f7998c00f47c46c (patch) | |
tree | c2c1809a7d5dd73d3f432b550d8370059bf1b90f /arch/arm/mach-omap2/clock34xx.h | |
parent | 712d7c860269018fc92169e0f6b42218fd82a6d1 (diff) |
[ARM] OMAP: Add CSI2 clock struct for handling it with clock API
Add CSI2 clock struct for handling it with clock API when TI PM is disabled.
linux-omap source commit is 8b20f4498928459276bd3366e3381ad595d23432.
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clock34xx.h')
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index 6b39ad476336..c265cdcc86aa 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -2198,6 +2198,17 @@ static struct clk cam_ick = { | |||
2198 | .recalc = &followparent_recalc, | 2198 | .recalc = &followparent_recalc, |
2199 | }; | 2199 | }; |
2200 | 2200 | ||
2201 | static struct clk csi2_96m_fck = { | ||
2202 | .name = "csi2_96m_fck", | ||
2203 | .ops = &clkops_omap2_dflt_wait, | ||
2204 | .parent = &core_96m_fck, | ||
2205 | .init = &omap2_init_clk_clkdm, | ||
2206 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_CAM_MOD, CM_FCLKEN), | ||
2207 | .enable_bit = OMAP3430_EN_CSI2_SHIFT, | ||
2208 | .clkdm_name = "cam_clkdm", | ||
2209 | .recalc = &followparent_recalc, | ||
2210 | }; | ||
2211 | |||
2201 | /* USBHOST - 3430ES2 only */ | 2212 | /* USBHOST - 3430ES2 only */ |
2202 | 2213 | ||
2203 | static struct clk usbhost_120m_fck = { | 2214 | static struct clk usbhost_120m_fck = { |