rockchip: Use a separate clock ID for clocks
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:38 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit898d64395c6f8889fc9fd09a0a4dc6a6f018598f
tree8d4c42a6cf349f0e86671623e4db83956d7e4930
parentf4adc9a50475e0c07ea5441e12e2f3caa54a76d3
rockchip: Use a separate clock ID for clocks

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@chromium.org>
configs/chromebook_jerry_defconfig
configs/firefly-rk3288_defconfig
drivers/clk/clk_rk3036.c
drivers/clk/clk_rk3288.c
drivers/mmc/rockchip_dw_mmc.c