From patchwork Wed Jul 1 13:21:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6703611 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 68104C05AC for ; Wed, 1 Jul 2015 13:23:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B5450206D7 for ; Wed, 1 Jul 2015 13:23:33 +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 DF3AF206D6 for ; Wed, 1 Jul 2015 13:23:32 +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 1ZAHxc-0006ey-Kj; Wed, 01 Jul 2015 13:21:56 +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 1ZAHxP-0006Jh-Qp for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2015 13:21:44 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NQT028ZU93J47A0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 01 Jul 2015 22:21:19 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.113]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 72.36.24422.F49E3955; Wed, 1 Jul 2015 22:21:19 +0900 (KST) X-AuditID: cbfee68f-f793b6d000005f66-85-5593e94f19ae Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 39.DE.25346.F49E3955; Wed, 1 Jul 2015 22:21:19 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NQT00CRC93IS350@mmp2.samsung.com>; Wed, 01 Jul 2015 22:21:18 +0900 (KST) From: Chanwoo Choi To: s.nawrocki@samsung.com, tomasz.figa@gmail.com, mturquette@baylibre.com, sboyd@codeaurora.org, kgene@kernel.org, k.kozlowski@samsung.com Subject: [PATCH v5 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250 Date: Wed, 01 Jul 2015 22:21:16 +0900 Message-id: <1435756877-26736-3-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1435756877-26736-1-git-send-email-cw00.choi@samsung.com> References: <1435756877-26736-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42JZI2JSqOv/cnKowdSPvBYbZ6xntbj+5Tmr xfwj51gtXr8wtOh//JrZ4mzTG3aLTY+vsVp87LnHanF51xw2ixnn9zFZXDzlanH4TTurxY8z 3SwWHcsYLVbt+sPowO/x/kYru8flvl4mj52z7rJ7bFrVyeaxeUm9R9+WVYwenzfJBbBHcdmk pOZklqUW6dslcGWcnnCJpaCfv+LM2a1MDYxzeLoYOTkkBEwk3h3bzwxhi0lcuLeerYuRi0NI YCmjxP7lJ5hhiu5svsgEkZjOKLHncCdU1RdGiX3H57OBVLEJaEnsf3EDLCEi0Mso8f9aMyOI wyzQySSx/sM9RpAqYYEYie2LprGC2CwCqhLzJ3SC2bwCrhL/n99lhdinILFs+Uwwm1PATWJX RyM7iC0EVDPjQiszyFAJgXvsEnv+XmOEGCQg8W3yIZYuRg6ghK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xhsYmZkaWRuaGFkbG5krivCfzfUKFBNITS1KzU1MLUotg+pg4OKUa GG03a4iufD/twPyaBy+X1wapx/6L52CI61zWbLt1QlCD9YItv49fm/Ere81MB4+OY7f00o++ mWIpf+uCnElt9Wz++9O3PhX2+WS/8/GL1SV+b06axli8vuL+WTGqWEmmfMmj4tLaE0tT9vrP 4suba7zZssWIU39Nzo3Lp0XvzXH5VBm7uHnZzmwlluKMREMt5qLiRADWJcF26QIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150701_062144_053311_82BDA8C8 X-CRM114-Status: GOOD ( 10.85 ) X-Spam-Score: -7.5 (-------) 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: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, thomas.ab@samsung.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.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.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 This patch add CPU operating points which include CPU frequency and regulator voltage to use generic cpufreq drivers. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-monk.dts | 4 ++++ arch/arm/boot/dts/exynos3250-rinato.dts | 4 ++++ arch/arm/boot/dts/exynos3250.dtsi | 15 +++++++++++++++ 3 files changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-monk.dts b/arch/arm/boot/dts/exynos3250-monk.dts index a5863acc5fff..fc6604d68864 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -118,6 +118,10 @@ }; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &adc { vdd-supply = <&ldo3_reg>; status = "okay"; diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 031853b75528..c8a083b376c9 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -109,6 +109,10 @@ }; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &adc { vdd-supply = <&ldo3_reg>; status = "okay"; diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi index d7201333e3bc..e0f3b2ed41a3 100644 --- a/arch/arm/boot/dts/exynos3250.dtsi +++ b/arch/arm/boot/dts/exynos3250.dtsi @@ -53,6 +53,21 @@ compatible = "arm,cortex-a7"; reg = <0>; clock-frequency = <1000000000>; + clocks = <&cmu CLK_ARM_CLK>; + clock-names = "cpu"; + + operating-points = < + 1000000 1150000 + 900000 1112500 + 800000 1075000 + 700000 1037500 + 600000 1000000 + 500000 962500 + 400000 925000 + 300000 887500 + 200000 850000 + 100000 850000 + >; }; cpu1: cpu@1 {