From: Chander Kashyap <k.chander@samsung.com>
To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-samsung-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org, daniel.lezcano@linaro.org,
lorenzo.pieralisi@arm.com, rjw@rjwysocki.net,
kgene.kim@samsung.com, tomasz.figa@gmail.com,
Chander Kashyap <chander.kashyap@linaro.org>,
Chander Kashyap <k.chander@samsung.com>
Subject: [Patch v7 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420
Date: Mon, 16 Jun 2014 15:56:22 +0530 [thread overview]
Message-ID: <1402914383-20471-6-git-send-email-k.chander@samsung.com> (raw)
In-Reply-To: <1402914383-20471-1-git-send-email-k.chander@samsung.com>
From: Chander Kashyap <chander.kashyap@linaro.org>
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver.
Hence do not allow exynos cpuidle driver registration for Exynos5420.
Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Chander Kashyap <k.chander@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
Changes in v6:
1. Move cpuidle registration check to exynos.c from cpuidle.c and
use "samsung,exynos5420" compatible string to avvoid registration
arch/arm/mach-exynos/exynos.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index 90aab4d..f4c08d6 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -271,7 +271,9 @@ static void __init exynos_dt_machine_init(void)
}
}
- exynos_cpuidle_init();
+ if (!of_machine_is_compatible("samsung,exynos5420"))
+ exynos_cpuidle_init();
+
exynos_cpufreq_init();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
--
1.7.9.5
next prev parent reply other threads:[~2014-06-16 10:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 10:26 [Patch v7 0/6] add cpuidle support " Chander Kashyap
2014-06-16 10:26 ` [Patch v7 1/6] driver: cpuidle-big-little: add of_device_id structure Chander Kashyap
2014-06-16 10:26 ` [Patch v7 2/6] arm: exynos: add generic function to calculate cpu number Chander Kashyap
2014-06-16 10:26 ` [Patch v7 3/6] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver Chander Kashyap
2014-06-16 10:26 ` [Patch v7 4/6] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420 Chander Kashyap
2014-06-16 10:26 ` Chander Kashyap [this message]
2014-06-16 10:26 ` [Patch v7 6/6] mcpm: exynos: populate suspend and powered_up callbacks Chander Kashyap
2014-07-01 11:52 ` [Patch v7 0/6] add cpuidle support for Exynos5420 Kukjin Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402914383-20471-6-git-send-email-k.chander@samsung.com \
--to=k.chander@samsung.com \
--cc=chander.kashyap@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=rjw@rjwysocki.net \
--cc=tomasz.figa@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®