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: 6248631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 BC49B9F313 for ; Tue, 21 Apr 2015 13:19:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA388202E6 for ; Tue, 21 Apr 2015 13:19:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 01DDC200E5 for ; Tue, 21 Apr 2015 13:19:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755489AbbDUNTb (ORCPT ); Tue, 21 Apr 2015 09:19:31 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:19365 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751027AbbDUNT1 (ORCPT ); Tue, 21 Apr 2015 09:19:27 -0400 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>; 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 Cc: Tomasz Figa , Lukasz Majewski , Heiko Stuebner , Chanwoo Choi , Kevin Hilman , Javier Martinez Canillas , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 */ } };