summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/exynos.c
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2018-02-18 16:41:24 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2018-02-19 19:55:49 +0300
commitcc14b2b1f0b98926b6640bdd66861188ded850eb (patch)
treebc5afb99ccdecd3e48a70e5662388f834f1be8b1 /arch/arm/mach-exynos/exynos.c
parentf947153f92afcd957476b765dc4ac75d2680b17b (diff)
downloadlinux-cc14b2b1f0b98926b6640bdd66861188ded850eb.tar.xz
ARM: EXYNOS: Extend cpuidle support to Midas boards
Exynos4412 can only use cpuidle when running under a compatible bootloader/firmware. The Midas family of boards, including Trats2, have such a firmware, so allow them to use cpuidle. Leave the Trats2 check there in order to preserve the ABI. Signed-off-by: Simon Shields <simon@lineageos.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-exynos/exynos.c')
-rw-r--r--arch/arm/mach-exynos/exynos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index fbd108ce8745..8c4f5e342dc1 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -192,7 +192,8 @@ static void __init exynos_dt_machine_init(void)
#endif
if (of_machine_is_compatible("samsung,exynos4210") ||
(of_machine_is_compatible("samsung,exynos4412") &&
- of_machine_is_compatible("samsung,trats2")) ||
+ (of_machine_is_compatible("samsung,trats2") ||
+ of_machine_is_compatible("samsung,midas"))) ||
of_machine_is_compatible("samsung,exynos3250") ||
of_machine_is_compatible("samsung,exynos5250"))
platform_device_register(&exynos_cpuidle);