Home
last modified time | relevance | path

Searched hist:a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/clk/
H A Dclk-uclass.c9e0758b7ff399d39cc62f24ab1c790485030834f Thu Jul 14 11:11:37 UTC 2016 Michal Simek <michal.simek@xilinx.com> dm: clk: Remove simple version of clk_get_by_index/name()

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.simek@xilinx.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44 Fri Jan 22 02:44:00 UTC 2016 Simon Glass <sjg@chromium.org> dm: clk: Add a simple version of clk_get_by_index()

This function adds quite a bit of code to SPL and we probably don't need
all the features in SPL. Add a simple version (for SPL only) to save space.

Signed-off-by: Simon Glass <sjg@chromium.org>