From: tharvey@gateworks.com (Tim Harvey)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: imx: ventana: enable LDO bypass mode for GW54xx
Date: Thu, 25 Sep 2014 22:59:32 -0700 [thread overview]
Message-ID: <1411711172-16498-3-git-send-email-tharvey@gateworks.com> (raw)
In-Reply-To: <1411711172-16498-1-git-send-email-tharvey@gateworks.com>
The GW54xx baseboard has a PFUZE100 PMIC capable of regulating the
core voltages (VDD_ARM, VDD_SOC) externally such that the internal IMX6
anatop LDO regulators are not needed. This provides a power reduction
(as the PMIC is more efficient than the LDO's) as well as moves some
of the power/thermal burden from the IMX to the PMIC.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 63 ++++++++++++++++++++++++++---------
1 file changed, 47 insertions(+), 16 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
index 7b8bd61..e31356d 100644
--- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
@@ -142,6 +142,11 @@
status = "okay";
};
+&cpu0 {
+ arm-supply = <®_sw1a>;
+ soc-supply = <®_sw1c>;
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
@@ -215,7 +220,8 @@
reg = <0x08>;
regulators {
- sw1a_reg: sw1ab {
+ /* VDD_ARM */
+ reg_sw1a: sw1ab {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
regulator-boot-on;
@@ -223,7 +229,8 @@
regulator-ramp-delay = <6250>;
};
- sw1c_reg: sw1c {
+ /* VDD_SOC */
+ reg_sw1c: sw1c {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
regulator-boot-on;
@@ -231,77 +238,89 @@
regulator-ramp-delay = <6250>;
};
- sw2_reg: sw2 {
+ /* VDD_HIGH */
+ reg_sw2: sw2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
- sw3a_reg: sw3a {
+ /* VDD_DDR */
+ reg_sw3a: sw3a {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
- sw3b_reg: sw3b {
+ /* VDD_DDR */
+ reg_sw3b: sw3b {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
- sw4_reg: sw4 {
+ /* VDD_1P8 */
+ reg_sw4: sw4 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3300000>;
};
- swbst_reg: swbst {
+ /* VDD_5P0 */
+ reg_swbst: swbst {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5150000>;
};
- snvs_reg: vsnvs {
+ reg_snvs: vsnvs {
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <3000000>;
regulator-boot-on;
regulator-always-on;
};
- vref_reg: vrefddr {
+ /* VDD_VREF */
+ reg_vref: vrefddr {
regulator-boot-on;
regulator-always-on;
};
- vgen1_reg: vgen1 {
+ /* VDD_PCIE-A_1P5 */
+ reg_vgen1: vgen1 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
};
- vgen2_reg: vgen2 {
+ /* VDD_PCIE-B_1P5 */
+ reg_vgen2: vgen2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
};
- vgen3_reg: vgen3 {
+ /* unused */
+ reg_vgen3: vgen3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
- vgen4_reg: vgen4 {
+ /* VDD_AUD_1P8 */
+ reg_vgen4: vgen4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
- vgen5_reg: vgen5 {
+ /* VDD_2P5 */
+ reg_vgen5: vgen5 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
- vgen6_reg: vgen6 {
+ /* unused */
+ reg_vgen6: vgen6 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
@@ -325,7 +344,7 @@
compatible = "fsl,sgtl5000";
reg = <0x0a>;
clocks = <&clks 201>;
- VDDA-supply = <&sw4_reg>;
+ VDDA-supply = <®_sw4>;
VDDIO-supply = <®_3p3v>;
};
@@ -380,6 +399,18 @@
status = "okay";
};
+®_arm {
+ anatop-ldo-bypass;
+};
+
+®_soc {
+ anatop-ldo-bypass;
+};
+
+®_pu {
+ anatop-ldo-bypass;
+};
+
&ssi1 {
fsl,mode = "i2s-slave";
status = "okay";
--
1.8.3.2
next prev parent reply other threads:[~2014-09-26 5:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 5:59 [PATCH RFC 0/2] ARM: imx: ventana: enable LDO-bypass mode Tim Harvey
2014-09-26 5:59 ` [PATCH 1/2] regulator: anatop: allow LDO bypass to be set from device-tree Tim Harvey
2014-09-26 8:57 ` Philipp Zabel
2014-09-29 5:47 ` Tim Harvey
2014-09-26 5:59 ` Tim Harvey [this message]
2014-09-26 7:20 ` [PATCH RFC 0/2] ARM: imx: ventana: enable LDO-bypass mode Stefan Wahren
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=1411711172-16498-3-git-send-email-tharvey@gateworks.com \
--to=tharvey@gateworks.com \
--cc=linux-arm-kernel@lists.infradead.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).