From patchwork Tue Apr 21 13:17:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 6248851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 91C19BF4A6 for ; Tue, 21 Apr 2015 13:24:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8ACA202EC for ; Tue, 21 Apr 2015 13:24:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB64E20295 for ; Tue, 21 Apr 2015 13:24:36 +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 1YkY7Z-0000x3-Rz; Tue, 21 Apr 2015 13:21:49 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkY5c-000767-Am for linux-arm-kernel@lists.infradead.org; Tue, 21 Apr 2015 13:19:49 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NN5005CERODQI20@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 21 Apr 2015 22:19:25 +0900 (KST) X-AuditID: cbfee61a-f79516d000006302-7e-55364e5df7c4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 3D.0B.25346.D5E46355; Tue, 21 Apr 2015 22:19:25 +0900 (KST) Received: from amdc1032.digital.local ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NN500HX0RM5PL00@mmp2.samsung.com>; Tue, 21 Apr 2015 22:19:25 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar Subject: [PATCH 5/8] ARM: Exynos: use generic cpufreq driver for Exynos5420 Date: Tue, 21 Apr 2015 15:17:55 +0200 Message-id: <1429622278-12216-6-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1429622278-12216-1-git-send-email-b.zolnierkie@samsung.com> References: <1429622278-12216-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrILMWRmVeSWpSXmKPExsVy+t9jQd1YP7NQg8ZWWYuNM9azWlz/8pzV 4v+j16wWR38XWPQuuMpm0f/4NbPF18MrGC3ePNzMaLHp8TVWi8u75rBZfO49wmgx4/w+Joun Ey6yWRx+085q0bGM0WLVrj+MFhu/ejgIevx9fp3FY+esu+wem1Z1snncubaHzWPzknqPvi2r GD22X5vH7PF5k1wARxSXTUpqTmZZapG+XQJXxpz1sQU/uCpmL+hkamCcz9nFyMkhIWAiMXnq SVYIW0ziwr31bF2MXBxCAtMZJdbe/ccK4fxmlJi45R8bSBWbgJXExPZVjCAJEYEPjBKv330D a2EWmM8sMeHpKRaQKmEBb4m36x+yg9gsAqoSc6esBLN5BTwkzn1sAbI5gPYpSMyZZAMS5hTw lDh/+SXYGUJAJRNn7WecwMi7gJFhFaNoakFyQXFSeq6hXnFibnFpXrpecn7uJkZwQD+T2sG4 ssHiEKMAB6MSD++KCaahQqyJZcWVuYcYJTiYlUR4BYXMQoV4UxIrq1KL8uOLSnNSiw8xSnOw KInzztGVCxUSSE8sSc1OTS1ILYLJMnFwSjUwnu6X2Cl+680/HaFnLcY6v1hNe5SmFjnK1jaV np9/XqtJ0XXBD+EFcaXm87xCq9UnsP2+c/rqnV16Gx7emHG2M8d7VljxlXWrjA9kcky/K9Do UrZnbupGL3YdvluS6zuFV5zmmnvNhWty+c2ZHxI2l9wMN/KdpMJSe3w996+AD7Puf9+8o1hU RomlOCPRUIu5qDgRAPR5xWJkAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150421_061948_591344_61A73AF7 X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: -5.0 (-----) Cc: Lukasz Majewski , Kevin Hilman , Heiko Stuebner , linux-pm@vger.kernel.org, b.zolnierkie@samsung.com, Tomasz Figa , linux-kernel@vger.kernel.org, Chanwoo Choi , linux-samsung-soc@vger.kernel.org, Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Reviewed-by: Lukasz Majewski --- 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 4b03a32..11ac7fb 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -207,6 +207,13 @@ struct cpufreq_dt_platform_data cpufreq_dt_pd = { static const struct of_device_id exynos_cpufreq_matches[] = { { .compatible = "samsung,exynos4210", .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 */ } };