ARM: EXYNOS: Switch to syscon reboot and poweroff
authorAlim Akhtar <alim.akhtar@samsung.com>
Fri, 20 Nov 2015 05:17:09 +0000 (10:47 +0530)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 20 Nov 2015 07:00:41 +0000 (16:00 +0900)
commit23067d39761626a0bd814a092404a7d424ebf0c3
tree90b6455d6de55a623fb364b93c811183d979e24a
parentd927dc938c85973dae36fcf371d33f8f2793af99
ARM: EXYNOS: Switch to syscon reboot and poweroff

Since we switch to use generic syscon regmap based reset/poweroff
driver for exynos SoC, lets select it from ARCH_EXYNOS instead of
enabling it from various defconfigs. This also select POWER_RESET
as SYSCON-{reset, poweroff} drivers depends on it.

Also because of the above changes we don't need special handling
for reboot/poweroff in exynos pmu driver. This patch also removes
the same from exynos pmu driver to keep git bisect working.

Note: This will break reboot/poweroff on boards with older dtbs
with a newer kernel.

Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/pmu.c