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)
commita8b447f2bbbba737ff4478f498d7f83c75a9461b
treeb68792f27524250d1a9d3267ef3cf80f7a3cc946
parenta1198f83407ae3421f3f58355a0f296d5ea6249c
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