From patchwork Tue Apr 21 15:49:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 6250881 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 7F365BF4A6 for ; Tue, 21 Apr 2015 15:52:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC788202F0 for ; Tue, 21 Apr 2015 15:52:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4FC5202D1 for ; Tue, 21 Apr 2015 15:51:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932881AbbDUPvr (ORCPT ); Tue, 21 Apr 2015 11:51:47 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:65428 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932944AbbDUPuR (ORCPT ); Tue, 21 Apr 2015 11:50:17 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NN5000FDYNRMR30@mailout2.samsung.com>; Wed, 22 Apr 2015 00:50:15 +0900 (KST) X-AuditID: cbfee61a-f79516d000006302-cf-553671b6f033 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 51.0D.25346.6B176355; Wed, 22 Apr 2015 00:50:15 +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 <0NN500HV8YM5C980@mmp2.samsung.com>; Wed, 22 Apr 2015 00:50:14 +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 v2 5/8] ARM: Exynos: use generic cpufreq driver for Exynos5420 Date: Tue, 21 Apr 2015 17:49:02 +0200 Message-id: <1429631345-16409-6-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1429631345-16409-1-git-send-email-b.zolnierkie@samsung.com> References: <1429631345-16409-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t9jQd3thWahBvce8FlsnLGe1eL6l+es Fv8fvWa1OPq7wKJ3wVU2i/7Hr5ktvh5ewWjx5uFmRotNj6+xWlzeNYfN4nPvEUaLGef3MVk8 nXCRzeLwm3ZWi45ljBardv1htNj41cNB0OPv8+ssHjtn3WX32LSqk83jzrU9bB6bl9R79G1Z xeix/do8Zo/Pm+QCOKK4bFJSczLLUov07RK4Muasjy34wVUxe0EnUwPjfM4uRg4OCQETif3P nLsYOYFMMYkL99azdTFycQgJTGeUeH58BSOE85tRom1fBxtIFZuAlcTE9lVgCRGBD4wSr999 A2thFpjPLDHh6SkWkCphAT+Jyxcns4LYLAKqEt8aV7CD2LwCHhItXa+ZIFYrSMyZZANicgp4 Sqw/lgpSIQRUMXH6TvYJjLwLGBlWMYqmFiQXFCel5xrqFSfmFpfmpesl5+duYgQH8zOpHYwr GywOMQpwMCrx8K6YYBoqxJpYVlyZe4hRgoNZSYRXUMgsVIg3JbGyKrUoP76oNCe1+BCjNAeL kjjvHF25UCGB9MSS1OzU1ILUIpgsEwenVANjppGQrfDl118Or5j+v21h06a5rEu5NC+mT9J+ LbWUM+Itqw+zsrZD5BX+trsxpx6esxcrVY3t9rs0N6hqXUOat+SRWU+tGnjm9fpqzTgo9buW 9d6rVcWhh5tW3RZsDti9abZ8CpudmswN6WlGPUerOBc3SJYf3/HUcG1OZ2erdAGL8udYGW4l luKMREMt5qLiRAC0zgi3YgIAAA== 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 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 */ } };