Re: [U-Boot] [PATCH v1 2/7] clk: at91: Improve the clock implementation

2016-09-18 Thread Wenyou.Yang
ip.com> > Cc: U-Boot Mailing List <u-boot@lists.denx.de>; Stephen Warren > <swar...@nvidia.com> > Subject: Re: [U-Boot] [PATCH v1 2/7] clk: at91: Improve the clock > implementation > > On 09/12/2016 07:54 PM, Wenyou Yang wrote: > > For the peripheral c

Re: [U-Boot] [PATCH v1 2/7] clk: at91: Improve the clock implementation

2016-09-13 Thread Stephen Warren
On 09/12/2016 07:54 PM, Wenyou Yang wrote: For the peripheral clock, provide the clock ops for the clock provider, such as spi0_clk. The .of_xlate is to get the clk->id, the .enable is to enable the spi0 peripheral clock, the .get_rate is to get the clock frequency. The driver for periph32ck