]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: integrator: move restart to the device tree
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Oct 2014 14:18:59 +0000 (16:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Nov 2014 09:32:02 +0000 (10:32 +0100)
commit0a3b08624f52ee047b5c52cea59b611343141204
treef35a8df68af11df0ea1b58cc26b796b63bdde482
parent5e14da082b95af266632aa22eea48272d94b429c
ARM: integrator: move restart to the device tree

Using the augmented reset driver for the Versatile family,
we can move the reset handling for the Integrator out of the
machine. We add a "syscon" attribute to the core module, and
access the syscon registers using this handle. We need to
select SYSCON, POWER, POWER_RESET and POWER_RESET_VERSATILE
in order for the restart functionality to always be
available on all systems (it should not be optional).

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/integrator.dtsi
arch/arm/mach-integrator/Kconfig
arch/arm/mach-integrator/cm.h
arch/arm/mach-integrator/common.h
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c