Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-29 Thread Stephen Boyd
On 08/27, James Liao wrote: > On Wed, 2016-08-24 at 10:49 -0700, Stephen Boyd wrote: > > On 08/22, Erin Lo wrote: > > > + > > > +static void __init mtk_infrasys_init_early(struct device_node *node) > > > +{ > > > + int r, i; > > > + > > > + if (!infra_clk_data) { > > > + infra_clk_data =

Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-29 Thread Stephen Boyd
On 08/27, James Liao wrote: > On Wed, 2016-08-24 at 10:49 -0700, Stephen Boyd wrote: > > On 08/22, Erin Lo wrote: > > > + > > > +static void __init mtk_infrasys_init_early(struct device_node *node) > > > +{ > > > + int r, i; > > > + > > > + if (!infra_clk_data) { > > > + infra_clk_data =

Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-26 Thread James Liao
Hi Stephen, On Wed, 2016-08-24 at 10:49 -0700, Stephen Boyd wrote: > On 08/22, Erin Lo wrote: > > + > > +static void __init mtk_infrasys_init_early(struct device_node *node) > > +{ > > + int r, i; > > + > > + if (!infra_clk_data) { > > + infra_clk_data =

Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-26 Thread James Liao
Hi Stephen, On Wed, 2016-08-24 at 10:49 -0700, Stephen Boyd wrote: > On 08/22, Erin Lo wrote: > > + > > +static void __init mtk_infrasys_init_early(struct device_node *node) > > +{ > > + int r, i; > > + > > + if (!infra_clk_data) { > > + infra_clk_data =

Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-24 Thread Stephen Boyd
On 08/22, Erin Lo wrote: > + > +static void __init mtk_infrasys_init_early(struct device_node *node) > +{ > + int r, i; > + > + if (!infra_clk_data) { > + infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); > + > + for (i = 0; i < CLK_INFRA_NR; i++) > +

Re: [PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-24 Thread Stephen Boyd
On 08/22, Erin Lo wrote: > + > +static void __init mtk_infrasys_init_early(struct device_node *node) > +{ > + int r, i; > + > + if (!infra_clk_data) { > + infra_clk_data = mtk_alloc_clk_data(CLK_INFRA_NR); > + > + for (i = 0; i < CLK_INFRA_NR; i++) > +

[PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-22 Thread Erin Lo
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo

[PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-22 Thread Erin Lo
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo Tested-by: John Crispin --- drivers/clk/mediatek/Kconfig | 43 ++