On Sun, 10 Feb 2019 at 23:00, Jagan Teki <ja...@amarulasolutions.com> 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 child > without udevice but with ofnode. > > So add clk_get_by_index_nodev() and move the common code > in clk_get_by_index_tail() to use for clk_get_by_index() > > Cc: Simon Glass <s...@chromium.org> > Cc: Stephen Warren <swar...@nvidia.com> > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > --- > drivers/clk/clk-uclass.c | 61 +++++++++++++++++++++++++++++++++++++++- > include/clk.h | 15 ++++++++++ > 2 files changed, 75 insertions(+), 1 deletion(-) >
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot