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

2016-09-20 Thread Stephen Warren
On 09/18/2016 12:53 AM, 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 nod

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

2016-09-17 Thread Wenyou Yang
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 node is responsible for recursively binding its