From patchwork Fri Dec 4 17:30:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 7770851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F0EE49F39B for ; Fri, 4 Dec 2015 17:37:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 28709203EC for ; Fri, 4 Dec 2015 17:37:39 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AD5E203E3 for ; Fri, 4 Dec 2015 17:37:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a4uGf-0006aM-AP; Fri, 04 Dec 2015 17:35:37 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a4uDn-0002TA-2d for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2015 17:32:45 +0000 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYU01DQ3GPTLM90@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 05 Dec 2015 02:32:17 +0900 (KST) X-AuditID: cbfee61b-f793c6d00000236c-72-5661ce217470 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 30.3F.09068.12EC1665; Sat, 5 Dec 2015 02:32:17 +0900 (KST) Received: from AMDC1976.DIGITAL.local ([106.120.53.102]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYU00GMAGOFMR10@mmp2.samsung.com>; Sat, 05 Dec 2015 02:32:17 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , Krzysztof Kozlowski , Ben Gamari Subject: [PATCH v3 05/10] ARM: Exynos: use generic cpufreq driver for Exynos5420 Date: Fri, 04 Dec 2015 18:30:30 +0100 Message-id: <1449250235-9613-6-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1449250235-9613-1-git-send-email-b.zolnierkie@samsung.com> References: <1449250235-9613-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsVy+t9jQV3Fc4lhBldualhsnLGe1WLW/Lss Fte/PGe1+P/oNavFm7drmCxevzC06F1wlc2i//FrZouvh1cwWrx5uJnRYtPja6wWl3fNYbP4 3HuE0WLG+X1MFus23mK3eDrhIpvF4TftrBYdyxgt2lZ/YLVYtesPo8XGrx4Ooh47Z91l99i0 qpPN4861PWwem5fUe/w7xu6xpR8o3LdlFaPHmd/OHtuvzWP2+LxJLoArissmJTUnsyy1SN8u gSvjTqt2wXeuig8LP7I2MM7l7GLk5JAQMJH4veYcE4QtJnHh3nq2LkYuDiGBWYwS3070sIIk hAR+MUrsfKkGYrMJWElMbF/FCFIkInCMSeJR6012EIdZ4DWzxNGDf8FGCQsESLzas4MFxGYR UJU4s+YMmM0r4C4x/fgBFoh1chInj00G28Ap4CFxelsXM8Q2d4ne9/tYJjDyLmBkWMUokVqQ XFCclJ5rlJdarlecmFtcmpeul5yfu4kRHA/PpHcwHt7lfohRgINRiYeXYVNCmBBrYllxZe4h RgkOZiURXmaZxDAh3pTEyqrUovz4otKc1OJDjNIcLErivPsuRYYJCaQnlqRmp6YWpBbBZJk4 OKUaGHNsJ5V7pbzh1mN2O7CmQ6+mKvtM3gWli/83Lj9ju2m1zezHV7Rem985U8341ujjk83P 6g2uOLvuvB/D+yPdWPjDj9hfrhv7Dc47v3wjoyH3qez0ntt3p6jyFok9surR8L3a06r7i4PJ kvN3u7AtY+Rl/7zqn1mLVUOLhWO97NQquKSYZJZdUWIpzkg01GIuKk4EAHmH10SDAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151204_093239_737361_A213EE83 X-CRM114-Status: GOOD ( 14.63 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lukasz Majewski , Kevin Hilman , Heiko Stuebner , Javier Martinez Canillas , Anand Moon , linux-pm@vger.kernel.org, Tomasz Figa , linux-kernel@vger.kernel.org, Chanwoo Choi , b.zolnierkie@samsung.com, Tobias Jakobi , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thomas Abraham The new CPU clock type allows the use of generic arm_big_little_dt cpufreq driver for Exynos5420. Changes by Bartlomiej: - split Exynos5420 support from the original patch - disable cpufreq if big.LITTLE switcher support is enabled Cc: Tomasz Figa Cc: Kukjin Kim Cc: Javier Martinez Canillas Signed-off-by: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/exynos.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 1c47aee..6d97145 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -230,6 +230,13 @@ static const struct of_device_id exynos_cpufreq_matches[] = { { .compatible = "samsung,exynos4212", .data = "cpufreq-dt" }, { .compatible = "samsung,exynos4412", .data = "cpufreq-dt" }, { .compatible = "samsung,exynos5250", .data = "cpufreq-dt" }, +/* + * FIXME: When big.LITTLE switcher is enabled system lockups during + * ondemand governor stress testing (observed on ODROID-XU3 board). + */ +#ifndef CONFIG_BL_SWITCHER + { .compatible = "samsung,exynos5420", .data = "arm-bL-cpufreq-dt" }, +#endif { /* sentinel */ } };