summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jücker <martin.juecker@gmail.com>2020-11-14 00:25:26 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-11-16 19:31:01 +0300
commitf9135aaf2767500dee419c03640f7a3784b56559 (patch)
tree5ae4994b525d289f59738975e8d39c02f6ba40c7
parent5a76c474e8b940dc324eed4e10d486405c4110d7 (diff)
downloadlinux-f9135aaf2767500dee419c03640f7a3784b56559.tar.xz
ARM: exynos: extend cpuidle support to P4 Note boards
The P4 Note family supports cpuidle, so allow it to make use of this feature. Signed-off-by: Martin Jücker <martin.juecker@gmail.com> Link: https://lore.kernel.org/r/20201113212525.13455-6-martin.juecker@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-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 a99d8eba4bb3..25b01da4771b 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -177,7 +177,8 @@ static void __init exynos_dt_machine_init(void)
if (of_machine_is_compatible("samsung,exynos4210") ||
(of_machine_is_compatible("samsung,exynos4412") &&
(of_machine_is_compatible("samsung,trats2") ||
- of_machine_is_compatible("samsung,midas"))) ||
+ of_machine_is_compatible("samsung,midas") ||
+ of_machine_is_compatible("samsung,p4note"))) ||
of_machine_is_compatible("samsung,exynos3250") ||
of_machine_is_compatible("samsung,exynos5250"))
platform_device_register(&exynos_cpuidle);