ARM: at91/tc: add device tree support to atmel_tclib
commit3a61a5dae49bf3d1afb7f75c8acb3607f26565af
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 19 Jan 2012 09:13:40 +0000 (19 10:13 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:38:48 +0000 (1 13:38 +0100)
tree53616025b0d6ff2af767b3f3ca62704774ce09e5
parent298312971b2fe8b922a1a15e0a6f5b4da89677d8
ARM: at91/tc: add device tree support to atmel_tclib

Device tree support added to atmel_tclib: the generic Timer Counter
library. This is used by the clocksource/clockevent driver tcb_clksrc.

The current DT enabled platforms are also modified to use it:
- .dtsi files are modified to add Timer Counter Block entries
- alias are created to allow identification of each block
- clkdev lookup tables are added for clocks identification.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Documentation/devicetree/bindings/arm/atmel-at91.txt
arch/arm/boot/dts/at91sam9g20.dtsi
arch/arm/boot/dts/at91sam9g45.dtsi
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9g45_devices.c
drivers/misc/atmel_tclib.c