cpuidle: big.LITTLE: enable driver only on Peach-Pit/Pi Chromebooks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Jun 2020 08:12:28 +0000 (10:12 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 26 Oct 2020 09:15:24 +0000 (10:15 +0100)
This driver always worked properly only on the Exynos 5420/5800 based
Chromebooks (Peach-Pit/Pi), so change the required compatible string to
the 'google,peach', to avoid enabling it on the other Exynos 542x/5800
boards, which hangs in such case. The main difference between Peach-Pit/Pi
and other Exynos 542x/5800 boards is the firmware - Peach platform doesn't
use secure firmware at all.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/cpuidle/cpuidle-big_little.c

index 7f8ddc0..abe5118 100644 (file)
@@ -155,8 +155,7 @@ static int __init bl_idle_driver_init(struct cpuidle_driver *drv, int part_id)
 
 static const struct of_device_id compatible_machine_match[] = {
        { .compatible = "arm,vexpress,v2p-ca15_a7" },
-       { .compatible = "samsung,exynos5420" },
-       { .compatible = "samsung,exynos5800" },
+       { .compatible = "google,peach" },
        {},
 };