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: 7770621 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 64B44BEEE1 for ; Fri, 4 Dec 2015 17:34:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9297F2049E for ; Fri, 4 Dec 2015 17:34:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1FF7320497 for ; Fri, 4 Dec 2015 17:34:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355AbbLDRcY (ORCPT ); Fri, 4 Dec 2015 12:32:24 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:47900 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752009AbbLDRcT (ORCPT ); Fri, 4 Dec 2015 12:32:19 -0500 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>; 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 Cc: Tomasz Figa , Lukasz Majewski , Heiko Stuebner , Chanwoo Choi , Kevin Hilman , Javier Martinez Canillas , Tobias Jakobi , Anand Moon , 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 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 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 --- 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 */ } };