aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-omap2/clock34xx.c1
-rw-r--r--arch/arm/mach-omap2/clock34xx.h11
-rw-r--r--arch/arm/mach-omap2/cm-regbits-34xx.h2
3 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c
index 439a66918d38..cb5e068feb56 100644
--- a/arch/arm/mach-omap2/clock34xx.c
+++ b/arch/arm/mach-omap2/clock34xx.c
@@ -206,6 +206,7 @@ static struct omap_clk omap34xx_clks[] = {
206 CLK(NULL, "dss_ick", &dss_ick, CK_343X), 206 CLK(NULL, "dss_ick", &dss_ick, CK_343X),
207 CLK(NULL, "cam_mclk", &cam_mclk, CK_343X), 207 CLK(NULL, "cam_mclk", &cam_mclk, CK_343X),
208 CLK(NULL, "cam_ick", &cam_ick, CK_343X), 208 CLK(NULL, "cam_ick", &cam_ick, CK_343X),
209 CLK(NULL, "csi2_96m_fck", &csi2_96m_fck, CK_343X),
209 CLK(NULL, "usbhost_120m_fck", &usbhost_120m_fck, CK_3430ES2), 210 CLK(NULL, "usbhost_120m_fck", &usbhost_120m_fck, CK_3430ES2),
210 CLK(NULL, "usbhost_48m_fck", &usbhost_48m_fck, CK_3430ES2), 211 CLK(NULL, "usbhost_48m_fck", &usbhost_48m_fck, CK_3430ES2),
211 CLK(NULL, "usbhost_ick", &usbhost_ick, CK_3430ES2), 212 CLK(NULL, "usbhost_ick", &usbhost_ick, CK_3430ES2),
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
2201static 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
2203static struct clk usbhost_120m_fck = { 2214static struct clk usbhost_120m_fck = {
diff --git a/arch/arm/mach-omap2/cm-regbits-34xx.h b/arch/arm/mach-omap2/cm-regbits-34xx.h
index f3c327bac1cb..aaf68a59800e 100644
--- a/arch/arm/mach-omap2/cm-regbits-34xx.h
+++ b/arch/arm/mach-omap2/cm-regbits-34xx.h
@@ -524,6 +524,8 @@
524#define OMAP3430_CLKACTIVITY_DSS_MASK (1 << 0) 524#define OMAP3430_CLKACTIVITY_DSS_MASK (1 << 0)
525 525
526/* CM_FCLKEN_CAM specific bits */ 526/* CM_FCLKEN_CAM specific bits */
527#define OMAP3430_EN_CSI2 (1 << 1)
528#define OMAP3430_EN_CSI2_SHIFT 1
527 529
528/* CM_ICLKEN_CAM specific bits */ 530/* CM_ICLKEN_CAM specific bits */
529 531