rockchip: clk: Update the rk3288 driver to support of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 4 Jul 2016 17:58:29 +0000 (11:58 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000 (20:40 -0600)
commit2d143bd6199c6c7ed6513c6a066569f76b1289f4
tree0e024ca73a90ef0af297160149eb63fd491ce4d8
parent08fd82cf3e55c0ab7b1038d82a7c744d3193c269
rockchip: clk: Update the rk3288 driver to support of-platdata

Add support for of-platdata with rk3288. This requires decoding the
of-platdata struct and setting up the devices from that. Also the driver
needs to be renamed to match the string that of-platdata will search for.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk_rk3288.c