From patchwork Mon Dec 7 18:18:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 7788811 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 704B3BEEE1 for ; Mon, 7 Dec 2015 18:21:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9AA552054C for ; Mon, 7 Dec 2015 18:21:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A938C2053D for ; Mon, 7 Dec 2015 18:21:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755154AbbLGSUC (ORCPT ); Mon, 7 Dec 2015 13:20:02 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:59124 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932543AbbLGST7 (ORCPT ); Mon, 7 Dec 2015 13:19:59 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZ001UMC2X9DY80@mailout1.samsung.com>; Tue, 08 Dec 2015 03:19:58 +0900 (KST) X-AuditID: cbfee61a-f79266d000003652-57-5665cdce8f6b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 18.F9.13906.ECDC5665; Tue, 8 Dec 2015 03:19:58 +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 <0NZ000I0K2W6PR40@mmp2.samsung.com>; Tue, 08 Dec 2015 03:19:58 +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, Javier Martinez Canillas Subject: [PATCH v4 4/8] ARM: Exynos: use generic cpufreq driver for Exynos5420 Date: Mon, 07 Dec 2015 19:18:16 +0100 Message-id: <1449512300-17230-5-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1449512300-17230-1-git-send-email-b.zolnierkie@samsung.com> References: <1449512300-17230-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRmVeSWpSXmKPExsVy+t9jQd1zZ1PDDI7Pk7LYOGM9q8Ws+XdZ LK5/ec5q8f/Ra1aLo78LLN68XcNk8fqFoUXvgqtsFv2PXzNbfD28gtHizcPNjBabHl9jtbi8 aw6bxefeI4wWM87vY7JYt/EWu8XTCRfZLA6/aWe16FjGaNG2+gOrxapdfxgtNn71cBDz+Pv8 OovHzll32T02repk87hzbQ+bx+Yl9R7/jrF7bOkHCvdtWcXocea3s8f2a/OYPT5vkgvgjuKy SUnNySxLLdK3S+DKOPm2kbXgNWfFtL7XjA2MKzi6GDk5JARMJHZsvsUIYYtJXLi3nq2LkYtD SGAWo8SS1/dZIJxfjBL3f09kBqliE7CSmNi+ihEkISJwjEniUetNdhCHWWAli8SGfTfZQKqE BfwkJtzsZAKxWQRUJX4cWskOYvMKeEjs+nSUFWKfnMTJY5PBbE4BT4krb9eB2UJANSu3v2Sd wMi7gJFhFaNEakFyQXFSeq5hXmq5XnFibnFpXrpecn7uJkZwlDyT2sF4cJf7IUYBDkYlHt4T x1LDhFgTy4orcw8xSnAwK4nwymYChXhTEiurUovy44tKc1KLDzFKc7AoifPWXooMExJITyxJ zU5NLUgtgskycXBKNTDOuJ28kl33yAtmSZEaWZnCs6Z/rSsl4uRL76/YbHZgnvLVi0c2zT/a wKbYOXON3f76Jr26OxM6+pabpelY7ll1U7GV84ST3/zuGUxnAq4/uCO8Yter5Z8fr9sroir+ eGfJq5zyEPOqkviqjMnqM/TUksVzb4ZcNNkyiTU2yzKL6f6HxR2vz8crsRRnJBpqMRcVJwIA SXLfrY4CAAA= 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 cpufreq-dt driver for Exynos5420. Changes by Bartlomiej: - split Exynos5420 support from the original patch - disable cpufreq if big.LITTLE switcher support is enabled - switch to using cpufreq-dt driver 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 1c47aee..7a89c9d 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -230,6 +230,9 @@ 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" }, +#ifndef CONFIG_BL_SWITCHER + { .compatible = "samsung,exynos5420", .data = "cpufreq-dt" }, +#endif { /* sentinel */ } };