[U-Boot] [PATCH v9 14/49] rockchip: Use a separate clock ID for clocks

Simon Glass sjg at chromium.org
Fri Jan 22 16:17:44 CET 2016


On 21 January 2016 at 19:43, Simon Glass <sjg at chromium.org> wrote:
> At present we use the same peripheral ID for clocks and pinctrl. While this
> works it is probably better to use the device tree clock binding ID for
> clocks. We can use the clk_get_by_index() function to find this.
>
> Update the clock drivers and the code that uses them.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v9: None
> Changes in v2:
> - Update call to clk_get_by_index()
>
>  configs/chromebook_jerry_defconfig |  1 +
>  configs/firefly-rk3288_defconfig   |  1 +
>  drivers/clk/clk_rk3036.c           | 16 +++++-----
>  drivers/clk/clk_rk3288.c           | 63 +++++++++++++++++++++-----------------
>  drivers/mmc/rockchip_dw_mmc.c      | 13 +++-----
>  5 files changed, 50 insertions(+), 44 deletions(-)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list