On 19 July 2016 at 00:21, Michal Simek <michal.si...@xilinx.com> wrote: > Simple version of clk_get_by_index() added by: > "dm: clk: Add a simple version of clk_get_by_index()" > (sha1: a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44) > is only working for #clock-cells=<1> but not for > any other values. Fixed clocks is using #clock-cells=<0> > which requires full implementation. > > Remove simplified versions of clk_get_by_index() and use full version. > Also remove empty clk_get_by_name() which is failing when it is called > which is useless. > > Signed-off-by: Michal Simek <michal.si...@xilinx.com> > --- > > Changes in v3: > - Rebase on the top of > "dm: clk: Add support for of-platdata" > (sha1: 7423daa60eb30b6613dfc19a51c55de23fd4d703) > Keep of-platdata part in the tree. > > Changes in v2: > - Also use full version of clk_get_by_name() > - Subject change from "Remove simple version of clk_get_by_index()" > > --- > drivers/clk/clk-uclass.c | 28 +--------------------------- > 1 file changed, 1 insertion(+), 27 deletions(-)
Acked-by: Simon Glass <s...@chromium.org> Tested on firefly-rk3288: Tested-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot