clocksource: sun5i: Add support for reset controller
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 17 Apr 2014 09:06:45 +0000 (11:06 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 22 Apr 2014 11:56:50 +0000 (13:56 +0200)
commite50a00be5c420b4f28836dec281cdde4bed832a2
treeced5d90749486cf68f9c7f8c5a35365d5c8125a1
parenta5e11117856147bd35e740b36939f3a8a958e1e6
clocksource: sun5i: Add support for reset controller

The Allwinner A31 that uses this timer has the timer IP asserted in reset.
Add an optional reset property to the DT, and deassert the timer from reset if
it's there.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/timer/allwinner,sun5i-a13-hstimer.txt
drivers/clocksource/timer-sun5i.c