Hello all:
Now I want to use the DEVOSC(not use the AUXOSC) to offer the clock to the audio device(TLV320AIC3,and I want to use the ACLKX of McASP as the clock of TLV320AIC3,which steps should I need?
As I konw:
1.
static const struct clksel osc_audio_dpll_mux_sel[] = {
{ .parent = &osc0_clkin_ck, .rates = div_1_0_rates },
{ .parent = &osc1_clkin_ck, .rates = div_1_1_rates },
{ .parent = NULL}
};
/* Clock input select for audio PRCM */
static struct clk audio_dpll_clkin_ck = {
.name = "audio_dpll_clkin_ck",
.init = &omap2_init_clksel_parent,
.ops = &clkops_null,
.clksel = osc_audio_dpll_mux_sel,
.clksel_reg = TI814X_PLL_CMGC_OSC_SRC,
.clksel_mask = TI814X_OSC_AUDIO_PLL_CLKS_MASK,
.recalc = &omap2_clksel_recalc,
};
the above:
#define TI814X_OSC_AUDIO_PLL_CLKS_MASK (1 << 24)
So,Set the OSC_SRC register the 24bits(AUDIO_PLL_SOURACE) to 0 will not use the AUXSOC .
But how to use the ACLKX of McASP as the clock of TLV320AIC3' clock?Thanks.
zhichao.