]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: dw_apb_timer_of: add clock-handling
authorHeiko Stuebner <heiko@sntech.de>
Tue, 4 Jun 2013 09:37:36 +0000 (11:37 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 12 Jun 2013 11:47:22 +0000 (13:47 +0200)
commitb8f693f13225d24c1d7004a7a69837f99500621e
treeb68792f27524250d1a9d3267ef3cf80f7a3cc946
parenteea8255a0c5a7a355d1454a0e9a1bdd21fc96dd5
clocksource: dw_apb_timer_of: add clock-handling

Add the possibility to get the clock-frequency from a timer clock instead
of specifying it as dt property. Additionally also add the possibility
to also define a controlling periphal clock for the timer block.

The clock-frequency property is kept to act as fallback if no clocks
are specified.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Documentation/devicetree/bindings/rtc/dw-apb.txt
drivers/clocksource/dw_apb_timer_of.c