From patchwork Thu Sep 7 09:05:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juergen Borleis X-Patchwork-Id: 9941885 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C85F96035F for ; Thu, 7 Sep 2017 09:07:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE4CA283C5 for ; Thu, 7 Sep 2017 09:07:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B3389285EC; Thu, 7 Sep 2017 09:07:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 313FE283C5 for ; Thu, 7 Sep 2017 09:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=6sEMCOFdAVFA4mkk+VmDBXhb+o/m05oOQJJOhbi0UXA=; b=ove7BmCY43cz8OyK14PeHmgb1k T4KiDuMvNIsblIjjaWVrCChjVpnlZL3S1WEHLQ5vxG8g/rC7icianVoCmgcYRHTUY3/R9Fen5ofNK fKTlXu+1AQnU6qMfTfMG+QA9Iy3bhBdnmgXywd4MlsLY9Jffvvp21O7GXg5jLaOWyXETG+6DzPPB2 lphzrJivSFXQOBfHH5tQhbWo2sUBYuScnHJQV/0nvt1utzc1DSrTnPg0fny5Ns1oXKkvEnHxWPR7U e+nbKmEFf6Vy0oZT+WahUfaJo+sofB4cvmVim8XTLi3tImkzh9WF1haQxx9QmXK89ljSKKF3+Gq1a OBpGKtAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dpsma-0008Ju-Lf; Thu, 07 Sep 2017 09:07:32 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dpslD-00071S-78 for linux-arm-kernel@lists.infradead.org; Thu, 07 Sep 2017 09:06:14 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dpskn-0002Wy-0R; Thu, 07 Sep 2017 11:05:41 +0200 Received: from jbe by dude.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1dpskk-0001Ic-Lx; Thu, 07 Sep 2017 11:05:38 +0200 From: Juergen Borleis To: devicetree@vger.kernel.org Subject: [PATCH 9/9] ARM: dts: TQma53: describe the full power supply tree Date: Thu, 7 Sep 2017 11:05:30 +0200 Message-Id: <20170907090530.1241-10-jbe@pengutronix.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170907090530.1241-1-jbe@pengutronix.de> References: <20170907090530.1241-1-jbe@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: jbe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170907_020607_466178_B388FCBF X-CRM114-Status: UNSURE ( 9.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |<--- mba53 devel baseboard --->|<----- TQma53 CPU card ----->| | | | +12 V -|-o--> 3.3 V ----> internal use | | | | | | | \--> 5.0 V -o--> internal use | /--> 3.8 V --> PMIC | | | | | | | \---------------->|-o--> 3.2 V --> internal use | | | Signed-off-by: Juergen Borleis --- arch/arm/boot/dts/imx53-mba53.dts | 36 +++++++++++++++++++++++++++++++++++- arch/arm/boot/dts/imx53-tqma53.dtsi | 9 +++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx53-mba53.dts b/arch/arm/boot/dts/imx53-mba53.dts index fb50ed8cc8f47..b5e1b9b373bf5 100644 --- a/arch/arm/boot/dts/imx53-mba53.dts +++ b/arch/arm/boot/dts/imx53-mba53.dts @@ -44,6 +44,32 @@ }; }; + main_power_in_12p0v: mainpowerin { + /* external power-in */ + compatible = "regulator-fixed"; + regulator-name = "12P0V"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + }; + + reg_5p0v: base5p0v { + compatible = "regulator-fixed"; + regulator-name = "5P0V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&main_power_in_12p0v>; + regulator-always-on; + }; + + reg_3p3v: base3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&main_power_in_12p0v>; + regulator-always-on; + }; reg_backlight: backlight { compatible = "regulator-fixed"; @@ -67,6 +93,14 @@ }; }; +®_3p2v { + vin-supply = <®_5p0v>; +}; + +®_3p8v { + vin-supply = <®_5p0v>; +}; + &ldb { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lvds1_1>; @@ -192,7 +226,7 @@ }; &esdhc2 { - vmmc-supply = <®_3p2v>; + vmmc-supply = <®_3p3v>; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx53-tqma53.dtsi b/arch/arm/boot/dts/imx53-tqma53.dtsi index 1ab5fbab1d728..ff4608b7318f4 100644 --- a/arch/arm/boot/dts/imx53-tqma53.dtsi +++ b/arch/arm/boot/dts/imx53-tqma53.dtsi @@ -27,6 +27,14 @@ regulator-max-microvolt = <3200000>; regulator-always-on; }; + + reg_3p8v: card3p8v { + compatible = "regulator-fixed"; + regulator-name = "3P8V"; + regulator-min-microvolt = <3800000>; + regulator-max-microvolt = <3800000>; + regulator-always-on; + }; }; &esdhc2 { @@ -264,6 +272,7 @@ fsl,mc13xxx-uses-rtc; interrupt-parent = <&gpio2>; interrupts = <6 IRQ_TYPE_LEVEL_HIGH>; + /* power supply input is ®_3p8v */ }; sensor1: lm75@48 {