From patchwork Mon Dec 7 18:18:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 7789081 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 C14F5BEEE1 for ; Mon, 7 Dec 2015 18:25:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 051E42053D for ; Mon, 7 Dec 2015 18:25:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2375E202E5 for ; Mon, 7 Dec 2015 18:25:29 +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 1a60Rf-0001m3-Ta; Mon, 07 Dec 2015 18:23:31 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a60P0-0007m3-Nk for linux-arm-kernel@lists.infradead.org; Mon, 07 Dec 2015 18:20:51 +0000 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NZ001VZP2Y18T70@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2015 03:20:25 +0900 (KST) X-AuditID: cbfee61b-f793c6d00000236c-38-5665cde9e823 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id E8.3D.09068.9EDC5665; Tue, 8 Dec 2015 03:20:25 +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:20:25 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , Krzysztof Kozlowski , Ben Gamari Subject: [PATCH v4 8/8] ARM: Exynos: use generic cpufreq driver for Exynos5422/5800 Date: Mon, 07 Dec 2015 19:18:20 +0100 Message-id: <1449512300-17230-9-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+NgFvrFLMWRmVeSWpSXmKPExsVy+t9jQd2XZ1PDDN7OELfYOGM9q8Ws+XdZ LK5/ec5q8f/Ra1aLo78LLN68XcNk8fqFoUXvgqtsFv2PXzNbfD28gtHizcPNjBabHl9jtbi8 aw6bxefeI4wWM87vY7JYt/EWu8XTCRfZLA6/aWe16FjGaNG2+gOrxapdfxgtNn71cBDz+Pv8 OovHzll32T02repk87hzbQ+bx+Yl9R7/jrF7bOkHCvdtWcXocea3s8f2a/OYPT5vkgvgjuKy SUnNySxLLdK3S+DK+HN1ElPBRs6KM7f/sjQw/mTvYuTgkBAwkZhxTamLkRPIFJO4cG89Wxcj F4eQwCxGiWNvz0A5vxgleha0sYNUsQlYSUxsX8UIkhAROMYk8aj1JjuIwyywkkViw76bbCBV wgKhEpNfLgTrYBFQlZjRvQkszivgIdH45gIbxD45iZPHJrOC2JwCnhJX3q4Ds4WAalZuf8k6 gZF3ASPDKkaJ1ILkguKk9FyjvNRyveLE3OLSvHS95PzcTYzgGHkmvYPx8C73Q4wCHIxKPLwn jqWGCbEmlhVX5h5ilOBgVhLhlc0ECvGmJFZWpRblxxeV5qQWH2KU5mBREufddykyTEggPbEk NTs1tSC1CCbLxMEp1cC45k/rttNVDM4y8W8POMZnmW3cExyZpq/6gztlascEw/kVEzb/jiqc FHyBNe/BP81QyW8LZv+S1/Zte924Oe6YRN98psDtK+dkGEroPE5O+lOQJlZkOVMz9by4HE+0 WdLUDVP7ey7apEzbbbh/rsQU5dJI5s2zog1DniyweCuYXHN29jS5ibOUWIozEg21mIuKEwGC BmiujQIAAA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151207_102047_574513_A89D67E7 X-CRM114-Status: GOOD ( 15.21 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lukasz Majewski , Kevin Hilman , Heiko Stuebner , Javier Martinez Canillas , Anand Moon , linux-pm@vger.kernel.org, Tomasz Figa , linux-kernel@vger.kernel.org, Chanwoo Choi , b.zolnierkie@samsung.com, Tobias Jakobi , linux-arm-kernel@lists.infradead.org, Javier Martinez Canillas , linux-samsung-soc@vger.kernel.org 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 cpufreq-dt driver for Exynos5422/5800. Changes by Bartlomiej: - split Exynos5800 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index 7a89c9d..cec8aeb 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -232,6 +232,7 @@ static const struct of_device_id exynos_cpufreq_matches[] = { { .compatible = "samsung,exynos5250", .data = "cpufreq-dt" }, #ifndef CONFIG_BL_SWITCHER { .compatible = "samsung,exynos5420", .data = "cpufreq-dt" }, + { .compatible = "samsung,exynos5800", .data = "cpufreq-dt" }, #endif { /* sentinel */ } };