OSDN Git Service

clk: rockchip: add a dummy clock for the watchdog pclk on rk3288
authorHeiko Stuebner <heiko@sntech.de>
Tue, 20 Jan 2015 20:06:55 +0000 (21:06 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 22 Jan 2015 14:42:24 +0000 (15:42 +0100)
commite142a4e91443d0fc2185c821626e66729f323d1c
treecb7d1babcb5475e0e0492efd9729872f616abde5
parentcc6430689e54cab75de5682084c1f0984d31a98b
clk: rockchip: add a dummy clock for the watchdog pclk on rk3288

The pclk supplying the watchdog is controlled via the SGRF register area.
Currently we don't have any clock-type handling external clock bits like
this one. Additionally the SGRF isn't even writable in every boot mode.

But still the clock control is available and in the future someone might
want to use it. Therefore define a simple clock for the time being so
that the watchdog driver can read its rate.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3288.c