ARM: timer-sp: convert to use CLKSRC_OF init
authorRob Herring <rob.herring@calxeda.com>
Mon, 25 Mar 2013 16:23:52 +0000 (11:23 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 11 Apr 2013 20:11:17 +0000 (15:11 -0500)
commit7a0eca712118862a2ac25413b7ee24deb27808ea
tree9ad5dec4526b8b65077e5e128c16607512b35904
parentd71956960c9dafaafeb19ea010c234abe9d25f10
ARM: timer-sp: convert to use CLKSRC_OF init

This adds CLKSRC_OF based init for sp804 timer. The clock initialization is
refactored to support retrieving the clock(s) from the DT.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/Kconfig
arch/arm/common/timer-sp.c
arch/arm/include/asm/hardware/timer-sp.h