Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-05 Thread Sekhar Nori
On Friday 02 February 2018 11:33 PM, David Lechner wrote: > On 02/02/2018 08:12 AM, Sekhar Nori wrote: >> On Saturday 20 January 2018 10:43 PM, David Lechner wrote: >>>   void __init da830_init_time(void) >>>   { >>> +#ifdef CONFIG_COMMON_CLK >>> +    void __iomem *pll0, *psc0, *psc1; >>> +   

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-05 Thread Sekhar Nori
On Friday 02 February 2018 11:33 PM, David Lechner wrote: > On 02/02/2018 08:12 AM, Sekhar Nori wrote: >> On Saturday 20 January 2018 10:43 PM, David Lechner wrote: >>>   void __init da830_init_time(void) >>>   { >>> +#ifdef CONFIG_COMMON_CLK >>> +    void __iomem *pll0, *psc0, *psc1; >>> +   

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-02 Thread David Lechner
On 02/02/2018 08:12 AM, Sekhar Nori wrote: On Saturday 20 January 2018 10:43 PM, David Lechner wrote: void __init da830_init_time(void) { +#ifdef CONFIG_COMMON_CLK + void __iomem *pll0, *psc0, *psc1; + struct clk *clk; + + pll0 = ioremap(DA8XX_PLL0_BASE, SZ_4K); +

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-02 Thread David Lechner
On 02/02/2018 08:12 AM, Sekhar Nori wrote: On Saturday 20 January 2018 10:43 PM, David Lechner wrote: void __init da830_init_time(void) { +#ifdef CONFIG_COMMON_CLK + void __iomem *pll0, *psc0, *psc1; + struct clk *clk; + + pll0 = ioremap(DA8XX_PLL0_BASE, SZ_4K); +

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-02 Thread Sekhar Nori
On Saturday 20 January 2018 10:43 PM, David Lechner wrote: > void __init da830_init_time(void) > { > +#ifdef CONFIG_COMMON_CLK > + void __iomem *pll0, *psc0, *psc1; > + struct clk *clk; > + > + pll0 = ioremap(DA8XX_PLL0_BASE, SZ_4K); > + psc0 = ioremap(DA8XX_PSC0_BASE, SZ_4K); >

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-02 Thread Sekhar Nori
On Saturday 20 January 2018 10:43 PM, David Lechner wrote: > void __init da830_init_time(void) > { > +#ifdef CONFIG_COMMON_CLK > + void __iomem *pll0, *psc0, *psc1; > + struct clk *clk; > + > + pll0 = ioremap(DA8XX_PLL0_BASE, SZ_4K); > + psc0 = ioremap(DA8XX_PSC0_BASE, SZ_4K); >

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-01-22 Thread David Lechner
On 01/20/2018 11:13 AM, David Lechner wrote: This adds the new board-specific clock init in mach-davinci/da830.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-01-22 Thread David Lechner
On 01/20/2018 11:13 AM, David Lechner wrote: This adds the new board-specific clock init in mach-davinci/da830.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are

[PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-01-20 Thread David Lechner
This adds the new board-specific clock init in mach-davinci/da830.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are adding some here. Signed-off-by: David Lechner

[PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-01-20 Thread David Lechner
This adds the new board-specific clock init in mach-davinci/da830.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Also clean up the #includes since we are adding some here. Signed-off-by: David Lechner