|
@@ -879,3 +879,84 @@ DEFINE_STRUCT_CLK(gpt7_ick, aes_ick_parent_names, aes_ick_ops);
|
|
|
|
|
|
static struct clk gpt8_fck;
|
|
|
|
|
|
+DEFINE_CLK_OMAP_MUX_GATE(gpt8_fck, "core_l4_clkdm", omap24xx_gpt_clksel,
|
|
|
+ OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL2),
|
|
|
+ OMAP24XX_CLKSEL_GPT8_MASK,
|
|
|
+ OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
+ OMAP24XX_EN_GPT8_SHIFT, &clkhwops_wait,
|
|
|
+ gpt10_fck_parent_names, dss1_fck_ops);
|
|
|
+
|
|
|
+static struct clk gpt8_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap gpt8_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &gpt8_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP24XX_EN_GPT8_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(gpt8_ick, aes_ick_parent_names, aes_ick_ops);
|
|
|
+
|
|
|
+DEFINE_CLK_OMAP_MUX_GATE(gpt9_fck, "core_l4_clkdm", omap24xx_gpt_clksel,
|
|
|
+ OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL2),
|
|
|
+ OMAP24XX_CLKSEL_GPT9_MASK,
|
|
|
+ OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
+ OMAP24XX_EN_GPT9_SHIFT, &clkhwops_wait,
|
|
|
+ gpt10_fck_parent_names, dss1_fck_ops);
|
|
|
+
|
|
|
+static struct clk gpt9_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap gpt9_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &gpt9_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP24XX_EN_GPT9_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(gpt9_ick, aes_ick_parent_names, aes_ick_ops);
|
|
|
+
|
|
|
+static struct clk hdq_fck;
|
|
|
+
|
|
|
+static struct clk_hw_omap hdq_fck_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &hdq_fck,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
|
|
|
+ .enable_bit = OMAP24XX_EN_HDQ_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(hdq_fck, fac_fck_parent_names, aes_ick_ops);
|
|
|
+
|
|
|
+static struct clk hdq_ick;
|
|
|
+
|
|
|
+static struct clk_hw_omap hdq_ick_hw = {
|
|
|
+ .hw = {
|
|
|
+ .clk = &hdq_ick,
|
|
|
+ },
|
|
|
+ .ops = &clkhwops_iclk_wait,
|
|
|
+ .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
|
|
|
+ .enable_bit = OMAP24XX_EN_HDQ_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|
|
|
+
|
|
|
+DEFINE_STRUCT_CLK(hdq_ick, aes_ick_parent_names, aes_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 = OMAP2420_EN_I2C1_SHIFT,
|
|
|
+ .clkdm_name = "core_l4_clkdm",
|
|
|
+};
|