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: 6703531 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 68E0D9F1C1 for ; Wed, 1 Jul 2015 13:21:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9409A206DE for ; Wed, 1 Jul 2015 13:21:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1140D206D7 for ; Wed, 1 Jul 2015 13:21:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbbGANVy (ORCPT ); Wed, 1 Jul 2015 09:21:54 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:53068 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752098AbbGANV2 (ORCPT ); Wed, 1 Jul 2015 09:21:28 -0400 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>; 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 Cc: thomas.ab@samsung.com, b.zolnierkie@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org 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 RyM7iC0EVDPjQisz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YmVValF+fFFpTmpxYcY TYGumsgsJZqcD0wheSXxhsYmZkaWRuaGFkbG5krivCfzfUKFBNITS1KzU1MLUotg+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 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=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 {