On Tue, Mar 26, 2013 at 04:30:11PM +0100, Stephen Warren wrote: > From: Stephen Warren <swarren@xxxxxxxxxx> > > This sets up all the audio-related clocks on Tegra114 in the same way > as they are set up on previous chips. > > Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> > --- > v2: Rebased on Peter's Tegra114 CCF series V8; V1 was based on CCF V7. > > Peter, this is an incremental patch on top of your Tegra114 CCF V8 which > gets all the audio clocks into the desired state at startup. It should > work fine even though it enables some PLLs, assuming you're going to roll > my "clk: tegra: defer application of init table" into the CCF series, or > have it applied first. > --- > drivers/clk/tegra/clk-tegra114.c | 13 +++++++++---- > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c > index 3638a10..9f738f8 100644 > --- a/drivers/clk/tegra/clk-tegra114.c > +++ b/drivers/clk/tegra/clk-tegra114.c > @@ -2005,11 +2005,16 @@ static __initdata struct tegra_clk_init_table init_table[] = { > {uartb, pll_p, 408000000, 0}, > {uartc, pll_p, 408000000, 0}, > {uartd, pll_p, 408000000, 0}, > - {pll_a, clk_max, 564480000, 0}, > - {pll_a_out0, clk_max, 11289600, 0}, > - {extern1, pll_a_out0, 0, 0}, > + {pll_a, clk_max, 564480000, 1}, > + {pll_a_out0, clk_max, 11289600, 1}, > + {extern1, pll_a_out0, 0, 1}, Are these needed? I would assume the clockframework will turn them on when clk_out_1 is turned on. Normally parent clocks are automatically enabled before a child is enabled. > {clk_out_1_mux, extern1, 0, 0}, > - {clk_out_1, clk_max, 0, 0}, > + {clk_out_1, clk_max, 0, 1}, > + {i2s0, pll_a_out0, 11289600, 0}, > + {i2s1, pll_a_out0, 11289600, 0}, > + {i2s2, pll_a_out0, 11289600, 0}, > + {i2s3, pll_a_out0, 11289600, 0}, > + {i2s4, pll_a_out0, 11289600, 0}, > {clk_max, clk_max, 0, 0}, /* This MUST be the last entry. */ > }; Otherwise it looks fine. Thanks, Peter. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html