From patchwork Tue Apr 21 15:49:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 6250991 Return-Path: X-Original-To: patchwork-linux-arm@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 432F99F1C4 for ; Tue, 21 Apr 2015 15:54:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59AF1202D1 for ; Tue, 21 Apr 2015 15:54:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 78D7C20220 for ; Tue, 21 Apr 2015 15:54:03 +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 1YkaSJ-0002DP-TY; Tue, 21 Apr 2015 15:51:23 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YkaRD-0000Uq-Il for linux-arm-kernel@lists.infradead.org; Tue, 21 Apr 2015 15:50:17 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NN5005OYYNLZA50@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 22 Apr 2015 00:50:09 +0900 (KST) X-AuditID: cbfee61b-f79536d000000f1f-3e-553671b18eaf Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id EF.E8.03871.1B176355; Wed, 22 Apr 2015 00:50:09 +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:09 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar Subject: [PATCH v2 4/8] ARM: dts: Exynos5420: add CPU OPP and regulator supply property Date: Tue, 21 Apr 2015 17:49:01 +0200 Message-id: <1429631345-16409-5-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+NgFnrOLMWRmVeSWpSXmKPExsVy+t9jQd2NhWahBu/WyVg0byq22DhjPavF 9S/PWS3OLjvIZvH/0WtWi6O/Cyx6F1xls+h//JrZ4uvhFYwWbx5uZrTY9Pgaq8XlXXPYLD73 HmG0mHF+H5PF0wkX2SwOv2lntTj5p5fRomMZo8WqXX8YLTZ+9XAQ8ZjdcJHF4+/z6yweO2fd ZffYtKqTzePOtT1sHpuX1Hv0bVnF6LH92jxmj82nqz0+b5IL4IrisklJzcksSy3St0vgyng3 fRtjwSWJirXTJrM1MF4V6mLk5JAQMJFY+ewgC4QtJnHh3nq2LkYuDiGB6YwS5/9eYQVJCAn8 ZpT43CAIYrMJWElMbF/FCFIkIvCBUeL1u29gHcwCU1gkTiyZwAhSJSwQKdE94yHYWBYBVYk7 d96yg9i8Ah4SE2fuAGrgAFqnIDFnkg2IySngKbH+WCrELqCK6TvZJzDyLmBkWMUomlqQXFCc lJ5rpFecmFtcmpeul5yfu4kRHPzPpHcwrmqwOMQowMGoxMO7YoJpqBBrYllxZe4hRgkOZiUR XkEhs1Ah3pTEyqrUovz4otKc1OJDjNIcLErivHN05UKFBNITS1KzU1MLUotgskwcnFINjNLO VxYp7V61YucvDZEf735s2u3g+qphszP//DiJ49pW+2NNp4osPalg/HHKYfmtZr5Xk95+4Fxs +fhT1+oC+VPTP0ZPKt3p5Xr8ft4XtozPzWWrrHunmjB/znp0b9KWjf/2ec8O+Mz6/NzSrDss 93yZF9YW5xvF7fv5O/PcyQcT7jh4Xpmu9C5TiaU4I9FQi7moOBEAuYYMWXoCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150421_085015_814935_63E297CB X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: Doug Anderson , Lukasz Majewski , Kevin Hilman , Heiko Stuebner , linux-pm@vger.kernel.org, Sachin Kamat , b.zolnierkie@samsung.com, Tomasz Figa , linux-kernel@vger.kernel.org, Chanwoo Choi , linux-samsung-soc@vger.kernel.org, Andreas Faerber , Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 For Exynos5420 platforms, add CPU operating points and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Changes by Bartlomiej: - split Exynos5420 support from the original patch Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Signed-off-by: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos5420.dtsi | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index f67b23f..85b9cfc 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -59,8 +59,26 @@ device_type = "cpu"; compatible = "arm,cortex-a15"; reg = <0x0>; + clocks = <&clock CLK_ARM_CLK>; + clock-names = "cpu-cluster.0"; clock-frequency = <1800000000>; cci-control-port = <&cci_control1>; + clock-latency = <140000>; + + operating-points = < + 1800000 1250000 + 1700000 1212500 + 1600000 1175000 + 1500000 1137500 + 1400000 1112500 + 1300000 1062500 + 1200000 1037500 + 1100000 1012500 + 1000000 987500 + 900000 962500 + 800000 937500 + 700000 912500 + >; }; cpu1: cpu@1 { @@ -69,6 +87,7 @@ reg = <0x1>; clock-frequency = <1800000000>; cci-control-port = <&cci_control1>; + clock-latency = <140000>; }; cpu2: cpu@2 { @@ -77,6 +96,7 @@ reg = <0x2>; clock-frequency = <1800000000>; cci-control-port = <&cci_control1>; + clock-latency = <140000>; }; cpu3: cpu@3 { @@ -85,14 +105,29 @@ reg = <0x3>; clock-frequency = <1800000000>; cci-control-port = <&cci_control1>; + clock-latency = <140000>; }; cpu4: cpu@100 { device_type = "cpu"; compatible = "arm,cortex-a7"; reg = <0x100>; + clocks = <&clock CLK_KFC_CLK>; + clock-names = "cpu-cluster.1"; clock-frequency = <1000000000>; cci-control-port = <&cci_control0>; + clock-latency = <140000>; + + operating-points = < + 1300000 1275000 + 1200000 1212500 + 1100000 1162500 + 1000000 1112500 + 900000 1062500 + 800000 1025000 + 700000 975000 + 600000 937500 + >; }; cpu5: cpu@101 { @@ -101,6 +136,7 @@ reg = <0x101>; clock-frequency = <1000000000>; cci-control-port = <&cci_control0>; + clock-latency = <140000>; }; cpu6: cpu@102 { @@ -109,6 +145,7 @@ reg = <0x102>; clock-frequency = <1000000000>; cci-control-port = <&cci_control0>; + clock-latency = <140000>; }; cpu7: cpu@103 { @@ -117,6 +154,7 @@ reg = <0x103>; clock-frequency = <1000000000>; cci-control-port = <&cci_control0>; + clock-latency = <140000>; }; };