OSDN Git Service

ARM: at91: move pit timer to common clk framework
authorBoris BREZILLON <b.brezillon@overkiz.com>
Fri, 11 Oct 2013 11:46:28 +0000 (13:46 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Dec 2013 14:31:26 +0000 (15:31 +0100)
commit7034be876e6b6f98b0babf359c21aab6b40bb9bd
tree066bdbb3aa92a802e08f2a2c87f2cdfc257eb885
parent32f955c6da20af07ffb059c060ea2e8f15a2bbb9
ARM: at91: move pit timer to common clk framework

Use device tree to get the source clock of the PIT (Periodic Interval Timer).
If the clock is not found in device tree (or dt is not enabled) we'll try to
get it using clk_lookup definitions.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91sam926x_time.c