[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1398245154-18771-3-git-send-email-chander.kashyap@linaro.org>
Date: Wed, 23 Apr 2014 14:55:52 +0530
From: Chander Kashyap <chander.kashyap@...aro.org>
To: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: lorenzo.pieralisi@....com, daniel.lezcano@...aro.org,
rjw@...ysocki.net, kgene.kim@...sung.com,
Chander Kashyap <chander.kashyap@...aro.org>,
Chander Kashyap <k.chander@...sung.com>
Subject: [Patch v2 2/4] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420
Add "samsung,exynos5420" compatible string to initialize generic
big-little cpuidle driver for Exynos5420.
Signed-off-by: Chander Kashyap <chander.kashyap@...aro.org>
Signed-off-by: Chander Kashyap <k.chander@...sung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
drivers/cpuidle/cpuidle-big_little.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/cpuidle/cpuidle-big_little.c b/drivers/cpuidle/cpuidle-big_little.c
index b45fc62..d0fac53 100644
--- a/drivers/cpuidle/cpuidle-big_little.c
+++ b/drivers/cpuidle/cpuidle-big_little.c
@@ -170,7 +170,8 @@ static int __init bl_idle_init(void)
/*
* Initialize the driver just for a compliant set of machines
*/
- if (!of_machine_is_compatible("arm,vexpress,v2p-ca15_a7"))
+ if (!of_machine_is_compatible("arm,vexpress,v2p-ca15_a7") &&
+ (!of_machine_is_compatible("samsung,exynos5420")))
return -ENODEV;
/*
* For now the differentiation between little and big cores
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists