Re: [U-Boot] [PATCH v2 04/13] clk: Get the CLK by index without device

2019-02-20 Thread Simon Glass
On Sun, 10 Feb 2019 at 23:00, Jagan Teki wrote: > > Getting a CLK by index with device is not straight forward > for some use-cases like handling clock operations for child > node in parent driver. So we need to process the child node > in parent probe via ofnode and process CLK operation for chil

[U-Boot] [PATCH v2 04/13] clk: Get the CLK by index without device

2019-02-10 Thread Jagan Teki
Getting a CLK by index with device is not straight forward for some use-cases like handling clock operations for child node in parent driver. So we need to process the child node in parent probe via ofnode and process CLK operation for child without udevice but with ofnode. So add clk_get_by_index