Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
On Wed, Oct 10, 2018 at 07:37:44AM +0200, Sascha Hauer wrote: > On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > > On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > > + const

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-10 Thread Abel Vesa
On Wed, Oct 10, 2018 at 07:37:44AM +0200, Sascha Hauer wrote: > On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > > On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > > + const

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Sascha Hauer
On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > + const char **parent_names, > > + int

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Sascha Hauer
On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > + const char **parent_names, > > + int

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Leonard Crestez
On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > +struct clk *imx_clk_composite_8m_flags(const char *name, > + const char **parent_names, > + int num_parents, void __iomem *reg, > +

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Leonard Crestez
On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > +struct clk *imx_clk_composite_8m_flags(const char *name, > + const char **parent_names, > + int num_parents, void __iomem *reg, > +

[PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Abel Vesa
Since a lot of clocks on imx8m are formed by a mux, gate, predivider and divider, the idea here is to combine all of those into one composite clock, but we need to deal with both predivider and divider at the same time and therefore we add the imx_clk_composite_8m_divider_ops and register the

[PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Abel Vesa
Since a lot of clocks on imx8m are formed by a mux, gate, predivider and divider, the idea here is to combine all of those into one composite clock, but we need to deal with both predivider and divider at the same time and therefore we add the imx_clk_composite_8m_divider_ops and register the