|
@@ -2996,6 +2996,11 @@ static struct omap_hwmod_ocp_if *omap44xx_mcbsp1_slaves[] = {
|
|
&omap44xx_l4_abe__mcbsp1_dma,
|
|
&omap44xx_l4_abe__mcbsp1_dma,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct omap_hwmod_opt_clk mcbsp1_opt_clks[] = {
|
|
|
|
+ { .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
|
|
+ { .role = "prcm_clk", .clk = "mcbsp1_sync_mux_ck" },
|
|
|
|
+};
|
|
|
|
+
|
|
static struct omap_hwmod omap44xx_mcbsp1_hwmod = {
|
|
static struct omap_hwmod omap44xx_mcbsp1_hwmod = {
|
|
.name = "mcbsp1",
|
|
.name = "mcbsp1",
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
@@ -3012,6 +3017,8 @@ static struct omap_hwmod omap44xx_mcbsp1_hwmod = {
|
|
},
|
|
},
|
|
.slaves = omap44xx_mcbsp1_slaves,
|
|
.slaves = omap44xx_mcbsp1_slaves,
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp1_slaves),
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp1_slaves),
|
|
|
|
+ .opt_clks = mcbsp1_opt_clks,
|
|
|
|
+ .opt_clks_cnt = ARRAY_SIZE(mcbsp1_opt_clks),
|
|
};
|
|
};
|
|
|
|
|
|
/* mcbsp2 */
|
|
/* mcbsp2 */
|
|
@@ -3071,6 +3078,11 @@ static struct omap_hwmod_ocp_if *omap44xx_mcbsp2_slaves[] = {
|
|
&omap44xx_l4_abe__mcbsp2_dma,
|
|
&omap44xx_l4_abe__mcbsp2_dma,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct omap_hwmod_opt_clk mcbsp2_opt_clks[] = {
|
|
|
|
+ { .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
|
|
+ { .role = "prcm_clk", .clk = "mcbsp2_sync_mux_ck" },
|
|
|
|
+};
|
|
|
|
+
|
|
static struct omap_hwmod omap44xx_mcbsp2_hwmod = {
|
|
static struct omap_hwmod omap44xx_mcbsp2_hwmod = {
|
|
.name = "mcbsp2",
|
|
.name = "mcbsp2",
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
@@ -3087,6 +3099,8 @@ static struct omap_hwmod omap44xx_mcbsp2_hwmod = {
|
|
},
|
|
},
|
|
.slaves = omap44xx_mcbsp2_slaves,
|
|
.slaves = omap44xx_mcbsp2_slaves,
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp2_slaves),
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp2_slaves),
|
|
|
|
+ .opt_clks = mcbsp2_opt_clks,
|
|
|
|
+ .opt_clks_cnt = ARRAY_SIZE(mcbsp2_opt_clks),
|
|
};
|
|
};
|
|
|
|
|
|
/* mcbsp3 */
|
|
/* mcbsp3 */
|
|
@@ -3146,6 +3160,11 @@ static struct omap_hwmod_ocp_if *omap44xx_mcbsp3_slaves[] = {
|
|
&omap44xx_l4_abe__mcbsp3_dma,
|
|
&omap44xx_l4_abe__mcbsp3_dma,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct omap_hwmod_opt_clk mcbsp3_opt_clks[] = {
|
|
|
|
+ { .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
|
|
+ { .role = "prcm_clk", .clk = "mcbsp3_sync_mux_ck" },
|
|
|
|
+};
|
|
|
|
+
|
|
static struct omap_hwmod omap44xx_mcbsp3_hwmod = {
|
|
static struct omap_hwmod omap44xx_mcbsp3_hwmod = {
|
|
.name = "mcbsp3",
|
|
.name = "mcbsp3",
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
@@ -3162,6 +3181,8 @@ static struct omap_hwmod omap44xx_mcbsp3_hwmod = {
|
|
},
|
|
},
|
|
.slaves = omap44xx_mcbsp3_slaves,
|
|
.slaves = omap44xx_mcbsp3_slaves,
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp3_slaves),
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp3_slaves),
|
|
|
|
+ .opt_clks = mcbsp3_opt_clks,
|
|
|
|
+ .opt_clks_cnt = ARRAY_SIZE(mcbsp3_opt_clks),
|
|
};
|
|
};
|
|
|
|
|
|
/* mcbsp4 */
|
|
/* mcbsp4 */
|
|
@@ -3200,6 +3221,11 @@ static struct omap_hwmod_ocp_if *omap44xx_mcbsp4_slaves[] = {
|
|
&omap44xx_l4_per__mcbsp4,
|
|
&omap44xx_l4_per__mcbsp4,
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+static struct omap_hwmod_opt_clk mcbsp4_opt_clks[] = {
|
|
|
|
+ { .role = "pad_fck", .clk = "pad_clks_ck" },
|
|
|
|
+ { .role = "prcm_clk", .clk = "mcbsp4_sync_mux_ck" },
|
|
|
|
+};
|
|
|
|
+
|
|
static struct omap_hwmod omap44xx_mcbsp4_hwmod = {
|
|
static struct omap_hwmod omap44xx_mcbsp4_hwmod = {
|
|
.name = "mcbsp4",
|
|
.name = "mcbsp4",
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
.class = &omap44xx_mcbsp_hwmod_class,
|
|
@@ -3216,6 +3242,8 @@ static struct omap_hwmod omap44xx_mcbsp4_hwmod = {
|
|
},
|
|
},
|
|
.slaves = omap44xx_mcbsp4_slaves,
|
|
.slaves = omap44xx_mcbsp4_slaves,
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp4_slaves),
|
|
.slaves_cnt = ARRAY_SIZE(omap44xx_mcbsp4_slaves),
|
|
|
|
+ .opt_clks = mcbsp4_opt_clks,
|
|
|
|
+ .opt_clks_cnt = ARRAY_SIZE(mcbsp4_opt_clks),
|
|
};
|
|
};
|
|
|
|
|
|
/*
|
|
/*
|