Re: [PATCH v5 24/44] ARM: da850: add new clock init using common clock framework

2018-01-18 Thread Sekhar Nori
On Monday 08 January 2018 07:47 AM, David Lechner wrote: > +#ifndef CONFIG_COMMON_CLK > static int da850_set_armrate(struct clk *clk, unsigned long rate); > static int da850_round_armrate(struct clk *clk, unsigned long rate); > static int da850_set_pll0rate(struct clk *clk, unsigned long armrat

[PATCH v5 24/44] ARM: da850: add new clock init using common clock framework

2018-01-07 Thread David Lechner
This adds the new board-specfic clock init in mach-davinci/da850.c using the new common clock framework drivers. The #ifdefs are needed to prevent compile errors until the entire ARCH_DAVINCI is converted. Some CFGCHIP* #defines are removed since they are included in the linux/mfd/da8xx-cfgchip.h