rockchip: clk: Add a function to get a peripheral clock rate
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:40 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:34 +0000 (20:42 -0700)
commit4f43673e5ac54c3c2486eee6f1c9cf5e51744f23
treeb1a588fac224312a4fa50c0aa20467cb47e39660
parent542635a0cf1fa6ad4512694c668cb93a46da422a
rockchip: clk: Add a function to get a peripheral clock rate

It is useful to be able to read the rate of a peripheral clock. Add a
handler for that.

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