From patchwork Thu Jul 2 00:42:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 6707181 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 3DA019F38C for ; Thu, 2 Jul 2015 00:45:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5F58F206FC for ; Thu, 2 Jul 2015 00:45:12 +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 81109203A0 for ; Thu, 2 Jul 2015 00:45:11 +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 1ZASbA-0007uK-2A; Thu, 02 Jul 2015 00:43:28 +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 1ZASat-0007Mg-Gv for linux-arm-kernel@lists.infradead.org; Thu, 02 Jul 2015 00:43:12 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NQU02ZU44N7HGA0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 02 Jul 2015 09:42:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.115]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 20.2A.28411.20984955; Thu, 2 Jul 2015 09:42:43 +0900 (KST) X-AuditID: cbfee68e-f79c56d000006efb-ec-55948902b83e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 1A.BE.25346.20984955; Thu, 2 Jul 2015 09:42:42 +0900 (KST) Received: from chan.10.32.193.11 ([10.252.81.195]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NQU0053G4N6Z0B0@mmp1.samsung.com>; Thu, 02 Jul 2015 09:42:42 +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 v6 2/3] ARM: dts: Add CPU OPP and regulator supply property for Exynos3250 Date: Thu, 02 Jul 2015 09:42:40 +0900 Message-id: <1435797761-3339-3-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.5.5 In-reply-to: <1435797761-3339-1-git-send-email-cw00.choi@samsung.com> References: <1435797761-3339-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42JZI2JSrMvcOSXU4G2oxcYZ61ktrn95zmox /8g5VovXLwwt+h+/ZrY42/SG3WLT42usFh977rFaXN41h81ixvl9TBYXT7laHH7Tzmrx40w3 i0XHMkaLVbv+MDrwe7y/0crucbmvl8lj56y77B6bVnWyeWxeUu/Rt2UVo8fnTXIB7FFcNimp OZllqUX6dglcGSte2xSs56+4d2chcwPjXp4uRk4OCQETiXu3PrFD2GISF+6tZ+ti5OIQEljK KDG35x4bTNGnV9egEosYJWY9+w7lfGGU2NrRCdbOJqAlsf/FDbCEiEAvo8T/a82MIA6zQCeT xPoP9xhBqoQFYiQWd2xmBrFZBFQlTqxYxNrFyMHBK+AisWd+LsQ6BYlly2eygticAq4Sl39s ZAGxhYBKJs56yAIyU0LgHrvEtBUHGCHmCEh8m3yIBWSOhICsxKYDzBBzJC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bmhhZGxuZK4rwn831ChQTSE0tSs1NTC1KLYPqYODil Ghhjr1t6RJ+PY4kIX7tI5tvK6Co5H2YHdQX771JS3NpzvSSFjj5ZIiskeCD8jn6HH4dchLP4 G1njufPmmArW77prE6P1d5bgzp01z3xDSziOV6jsUtn1c8/51ZJTgj6dat2yfeOflW7ro65f z1p4cGXoiemfJOp8p+pO+2peXMU1/73+jYkvXfyUWIozEg21mIuKEwHmrjPf5wIAAA== 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_174311_734047_69A46EE9 X-CRM114-Status: GOOD ( 10.60 ) 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..7863265d4868 100644 --- a/arch/arm/boot/dts/exynos3250-monk.dts +++ b/arch/arm/boot/dts/exynos3250-monk.dts @@ -141,6 +141,10 @@ }; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &exynos_usbphy { status = "okay"; }; diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 031853b75528..ddd7ac283045 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -132,6 +132,10 @@ }; }; +&cpu0 { + cpu0-supply = <&buck2_reg>; +}; + &exynos_usbphy { 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 {