From patchwork Wed Dec 2 21:19:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Gamari X-Patchwork-Id: 7753241 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 4D0119F39D for ; Wed, 2 Dec 2015 21:31:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6303620546 for ; Wed, 2 Dec 2015 21:31:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 88AF720549 for ; Wed, 2 Dec 2015 21:31:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756793AbbLBVbT (ORCPT ); Wed, 2 Dec 2015 16:31:19 -0500 Received: from mail.smart-cactus.org ([54.187.36.80]:50827 "EHLO mail.smart-cactus.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754424AbbLBV31 (ORCPT ); Wed, 2 Dec 2015 16:29:27 -0500 Received: from localhost.localdomain (HSI-KBW-149-172-43-78.hsi13.kabel-badenwuerttemberg.de [149.172.43.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: ben@smart-cactus.org) by mail.smart-cactus.org (Postfix) with ESMTPSA id 7E2A464B70; Wed, 2 Dec 2015 21:07:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.smart-cactus.org; s=mail; t=1449090484; bh=UpQsuGTgrM1PMvwUPp1KAY/axdAE+u3YI0VnkhYd1S8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BQqqZA2buH+da9p9oUzoalyDtxPLnRNaiPgDAyUg8lMHWow3bxW7pok24pCauFruD b4nHexfDJNJGcocL6FTIvdWb5ielsQOz4DkEvChDqNx7PoxY9Uz65N1oJ/j2sHK5wE mO9MCQk70BqfcvjivsNzWjlNeIh1VxlKdTVEDLMc= From: Ben Gamari To: Thomas Abraham , Sylwester Nawrocki , Michael Turquette , Kukjin Kim , Kukjin Kim , Viresh Kumar , Krzysztof Kozlowski 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-clk@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 , Javier Martinez Canillas , Andreas Faerber , Sachin Kamat , Ben Gamari Subject: [PATCH 09/12] ARM: dts: Exynos5420/5800: add cluster regulator supply properties Date: Wed, 2 Dec 2015 22:19:24 +0100 Message-Id: <1449091167-20758-10-git-send-email-ben@smart-cactus.org> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1449091167-20758-1-git-send-email-ben@smart-cactus.org> References: <1449091167-20758-1-git-send-email-ben@smart-cactus.org> 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,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: Bartlomiej Zolnierkiewicz Add cluster regulator supply properties as a preparation to adding generic arm_big_little_dt cpufreq driver support for Exynos5420 and Exynos5800 based boards. Changes by Ben Gamari: - Add regulators to odroidxu4 Cc: Kukjin Kim Cc: Doug Anderson Cc: Javier Martinez Canillas Cc: Andreas Faerber Cc: Sachin Kamat Cc: Thomas Abraham Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Ben Gamari --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 9 +++++++++ arch/arm/boot/dts/exynos5420-peach-pit.dts | 8 ++++++++ arch/arm/boot/dts/exynos5420-smdk5420.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu3.dts | 8 ++++++++ arch/arm/boot/dts/exynos5422-odroidxu4.dts | 10 ++++++++++ arch/arm/boot/dts/exynos5800-peach-pi.dts | 8 ++++++++ 6 files changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 4ecef69..a044da7 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -52,6 +52,15 @@ }; }; +&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 72ba6f0..eea0aa6 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..d44a280 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.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 0c0bbdb..d6650a1 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -53,6 +53,14 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; +}; + +&cpu4 { + cpu-cluster.1-supply = <&buck6_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..9f88c34 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts @@ -32,6 +32,16 @@ }; }; +&cpu0 { + cpu-cluster.0-supply = <&buck2_reg>; + cpu-cluster.1-supply = <&buck6_reg>; +}; + +&cpu4 { + cpu-cluster.0-supply = <&buck2_reg>; + cpu-cluster.1-supply = <&buck6_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 49a4f43..a06587b 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>;