From patchwork Fri Dec 4 17:30:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 7770841 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 ADF829F54F for ; Fri, 4 Dec 2015 17:37:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFA8E203E3 for ; Fri, 4 Dec 2015 17:37:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A48D8204D2 for ; Fri, 4 Dec 2015 17:37:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756507AbbLDRcA (ORCPT ); Fri, 4 Dec 2015 12:32:00 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:37162 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756313AbbLDRb6 (ORCPT ); Fri, 4 Dec 2015 12:31:58 -0500 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYU025HRGP02270@mailout1.samsung.com>; Sat, 05 Dec 2015 02:31:56 +0900 (KST) X-AuditID: cbfee61a-f79266d000003652-ce-5661ce0ca393 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id E6.BF.13906.C0EC1665; Sat, 5 Dec 2015 02:31:56 +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 <0NYU00GMAGOFMR10@mmp2.samsung.com>; Sat, 05 Dec 2015 02:31:56 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Thomas Abraham , Sylwester Nawrocki , Mike Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , Krzysztof Kozlowski , Ben Gamari Cc: Tomasz Figa , Lukasz Majewski , Heiko Stuebner , Chanwoo Choi , Kevin Hilman , Javier Martinez Canillas , Tobias Jakobi , Anand Moon , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, Doug Anderson , Andreas Faerber , Sachin Kamat Subject: [PATCH v3 02/10] ARM: dts: Exynos5420/5800: add cluster regulator supply properties Date: Fri, 04 Dec 2015 18:30:27 +0100 Message-id: <1449250235-9613-3-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1449250235-9613-1-git-send-email-b.zolnierkie@samsung.com> References: <1449250235-9613-1-git-send-email-b.zolnierkie@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xoC7PucQwg31npCyaNxVbbJyxntVi 1vy7LBbXvzxntTi77CCbxf9Hr1kt3rxdw2Tx+oWhRe+Cq2wW/Y9fM1t8PbyC0eLNw82MFpse X2O1uLxrDpvF594jjBYzzu9jsli38Ra7xdMJF9ksDr9pZ7U4+aeX0aJjGaNF2+oPrBardv1h tNj41cNBwmN2w0UWj52z7rJ7bFrVyeZx59oeNo/NS+o9/h1j99jSDxTu27KK0ePMb2eP7dfm MXtsPl3t8XmTXABPFJdNSmpOZllqkb5dAlfG01/fGQsOyFesfH+asYHxglQXIyeHhICJxPof qxghbDGJC/fWs3UxcnEICcxilDj27QojhPOLUeLcplnsIFVsAlYSE9tXgSVEBI4xSTxqvckO 4jALPGKR+HjmKBNIlbBAnMSZ0/PYQGwWAVWJD4fawWxeAXeJu81LWSD2yUmcPDaZFcTmFPCQ OL2tixnEFgKq6X2/j2UCI+8CRoZVjBKpBckFxUnpuYZ5qeV6xYm5xaV56XrJ+bmbGMER9Exq B+PBXe6HGAU4GJV4eBk2JYQJsSaWFVfmHmKU4GBWEuFllkkME+JNSaysSi3Kjy8qzUktPsQo zcGiJM5beykyTEggPbEkNTs1tSC1CCbLxMEp1cAYb7HqscqNc/wH3+1s1VHocjTkldYMjPv+ b7f0+mqNPTc7b9+KefzmZEXdojIlq8z912Tk1Tk4fKZsbz80KS7zmW9MWkX+eefgnBre+Ye6 nOx21T3tfdVSJ2Gg+3ihr5ztvvNrLU9s4AhxmeN/oEttUsRtnzdvGPOXedsvYAtvl9tz6JOo U64SS3FGoqEWc1FxIgBD4p1knAIAAA== 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Add cluster regulator supply properties as a preparation to adding generic arm_big_little_dt cpufreq driver support for Exynos5420 and Exynos5800 based boards. Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Cc: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 8 ++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 8 ++++++++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu3.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu4.dts | 8 ++++++++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 8 ++++++++ 7 files changed, 56 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 4ecef69..24b8a35 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -52,6 +52,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &usbdrd_dwc3_1 { dr_mode = "host"; }; diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 35cfb07..2b74230 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -676,6 +676,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &i2c_2 { status = "okay"; samsung,i2c-sda-delay = <100>; diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts index ac35aef..9e2dc5f 100644 --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts @@ -423,3 +423,11 @@ &usbdrd_phy1 { vbus-supply = <&usb301_vbus_reg>; }; + +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts index 2ae1cf4..6f1de7c 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-lite.dts @@ -54,6 +54,14 @@ }; }; +&cpu0 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + +&cpu4 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + &pwm { /* * PWM 0 -- fan diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 432406d..6b64122 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -53,6 +53,14 @@ }; }; +&cpu0 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + +&cpu4 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + &i2c_0 { status = "okay"; diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts index 2faf886..516a40f 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts @@ -32,6 +32,14 @@ }; }; +&cpu0 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + +&cpu4 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + &pwm { /* * PWM 0 -- fan diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 7b018e4..34aaaacd 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -638,6 +638,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_reg>; +}; + &i2c_2 { status = "okay"; samsung,i2c-sda-delay = <100>;