From: Juergen Borleis <jbe@pengutronix.de>
To: devicetree@vger.kernel.org
Cc: mark.rutland@arm.com, robh+dt@kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk
Subject: [PATCH 9/9] ARM: dts: TQma53: describe the full power supply tree
Date: Thu, 7 Sep 2017 11:05:30 +0200 [thread overview]
Message-ID: <20170907090530.1241-10-jbe@pengutronix.de> (raw)
In-Reply-To: <20170907090530.1241-1-jbe@pengutronix.de>
|<--- 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 <jbe@pengutronix.de>
---
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 {
--
2.11.0
prev parent reply other threads:[~2017-09-07 9:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-07 9:05 Cleanup devicetree for the i.MX53 based TQma53 + mba53 development kit Juergen Borleis
2017-09-07 9:05 ` [PATCH 2/9] ARM: dts: TQma53: define GPIO's active level by macro instead of anonymous number Juergen Borleis
[not found] ` <20170907090530.1241-1-jbe-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2017-09-07 9:05 ` [PATCH 1/9] ARM: dts: TQma53: regulators are no bus Juergen Borleis
2017-09-07 9:05 ` [PATCH 3/9] ARM: dts: TQma53: define IRQ's active level by macro instead of anonymous number Juergen Borleis
2017-09-07 9:05 ` [PATCH 6/9] ARM: dts: TQma53: fix and move regulator to its correct location Juergen Borleis
2017-09-07 9:05 ` [PATCH 4/9] ARM: dts: TQma53: ESDHC2: use correct IO lines power supply Juergen Borleis
2017-09-07 9:05 ` [PATCH 5/9] ARM: dts: TQma53: define eMMC's " Juergen Borleis
2017-09-07 9:05 ` [PATCH 7/9] ARM: dts: TQma53: move PMIC's IRQ pin control where it belongs to Juergen Borleis
2017-09-07 9:05 ` [PATCH 8/9] ARM: dts: TQma53: move network phy reset GPIO " Juergen Borleis
2017-09-07 9:05 ` Juergen Borleis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170907090530.1241-10-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).