|
@@ -1871,3 +1871,118 @@ static struct clk_hw_omap i2c1_fck_hw = {
|
|
|
.ops = &clkhwops_wait,
|
|
|
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
.enable_bit = OMAP3430_EN_I2C1_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c1_fck, csi2_96m_fck_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk i2c1_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap i2c1_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &i2c1_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_I2C1_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c1_ick, aes2_ick_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk i2c2_fck;
|
|
|
+
|
|
|
+static struct clk_hw_omap i2c2_fck_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &i2c2_fck,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_I2C2_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c2_fck, csi2_96m_fck_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk i2c2_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap i2c2_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &i2c2_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_I2C2_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c2_ick, aes2_ick_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk i2c3_fck;
|
|
|
+
|
|
|
+static struct clk_hw_omap i2c3_fck_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &i2c3_fck,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_I2C3_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c3_fck, csi2_96m_fck_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk i2c3_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap i2c3_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &i2c3_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_I2C3_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(i2c3_ick, aes2_ick_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk icr_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap icr_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &icr_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP3430_EN_ICR_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(icr_ick, aes2_ick_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk iva2_ck;
|
|
|
+
|
|
|
+static const char *iva2_ck_parent_names[] = {
|
|
|
+ "dpll2_m2_ck",
|
|
|
+};
|
|
|
+
|
|
|
+static struct clk_hw_omap iva2_ck_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &iva2_ck,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(OMAP3430_IVA2_MOD, CM_FCLKEN),
|
|
|
+ .enable_bit = OMAP3430_CM_FCLKEN_IVA2_EN_IVA2_SHIFT,
|
|
|
+ .clkdm_name = "iva2_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(iva2_ck, iva2_ck_parent_names, aes2_ick_ops);
|
|
|
+
|
|
|
+static struct clk mad2d_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap mad2d_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &mad2d_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3),
|