]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: integrator-cp: convert use CLKSRC_OF for timer init
authorRob Herring <rob.herring@calxeda.com>
Wed, 13 Mar 2013 20:31:12 +0000 (15:31 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 11 Apr 2013 20:11:21 +0000 (15:11 -0500)
commit5121928a01ce68bd01224419cb0b1e973efa1ff0
tree77ab94078703065c13f0b3bf9b36f2d439883c9c
parent89234e82d3a2bbc14637be1722f0457fe2455c82
ARM: integrator-cp: convert use CLKSRC_OF for timer init

Move the integrator-cp timer init to timer-sp.c and use CLKSRC_OF. There is
no reason to use the aliases, so drop them from the init code.

The integrator-cp timers are mistakenly called sp804 timers in the dts, but
in fact they are not sp804 dual timers, but single timers with the same
programming model. Fix the dts to reflect this.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/integratorcp.dts
arch/arm/common/timer-sp.c
arch/arm/mach-integrator/integrator_cp.c