* [PATCH 3/5] ARM: dts: imx: add cpu0 alias
[not found] <1414729631-11005-1-git-send-email-tharvey@gateworks.com>
@ 2014-10-31 4:27 ` Tim Harvey
2014-10-31 4:27 ` [PATCH 5/5] ARM: imx: ventana: enable LDO bypass mode for GW54xx Tim Harvey
1 sibling, 0 replies; 2+ messages in thread
From: Tim Harvey @ 2014-10-31 4:27 UTC (permalink / raw)
To: linux-kernel
Cc: linux-arm-kernel, Philipp Zabel, Fabio Estevam, Shawn Guo,
Lucas Stach, Silvio F, Christian Hemp, Russell King, Iain Paton,
devicetree
Adding an alias on the cpu0 node allows devicetree files to modify the
regulators for LDO-bypass mode.
Cc: devicetree@vger.kernel.org
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6dl.dtsi | 2 +-
arch/arm/boot/dts/imx6q.dtsi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx6dl.dtsi b/arch/arm/boot/dts/imx6dl.dtsi
index b453e0e..61e0047 100644
--- a/arch/arm/boot/dts/imx6dl.dtsi
+++ b/arch/arm/boot/dts/imx6dl.dtsi
@@ -17,7 +17,7 @@
#address-cells = <1>;
#size-cells = <0>;
- cpu@0 {
+ cpu0: cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi
index e9f3646..5900761 100644
--- a/arch/arm/boot/dts/imx6q.dtsi
+++ b/arch/arm/boot/dts/imx6q.dtsi
@@ -21,7 +21,7 @@
#address-cells = <1>;
#size-cells = <0>;
- cpu@0 {
+ cpu0: cpu@0 {
compatible = "arm,cortex-a9";
device_type = "cpu";
reg = <0>;
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 5/5] ARM: imx: ventana: enable LDO bypass mode for GW54xx
[not found] <1414729631-11005-1-git-send-email-tharvey@gateworks.com>
2014-10-31 4:27 ` [PATCH 3/5] ARM: dts: imx: add cpu0 alias Tim Harvey
@ 2014-10-31 4:27 ` Tim Harvey
1 sibling, 0 replies; 2+ messages in thread
From: Tim Harvey @ 2014-10-31 4:27 UTC (permalink / raw)
To: linux-kernel
Cc: linux-arm-kernel, Philipp Zabel, Fabio Estevam, Shawn Guo,
Lucas Stach, Silvio F, Christian Hemp, Russell King, Iain Paton,
devicetree
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.
Cc: devicetree@vger.kernel.org
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 55 +++++++++++++++++++++++++----------
1 file changed, 39 insertions(+), 16 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi
index cf13239..3ab0872 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 = <®_vdd_arm>;
+ soc-supply = <®_vdd_soc>;
+};
+
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
@@ -215,7 +220,8 @@
reg = <0x08>;
regulators {
- sw1a_reg: sw1ab {
+ /* VDD_ARM */
+ reg_vdd_arm: 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_vdd_soc: sw1c {
regulator-min-microvolt = <300000>;
regulator-max-microvolt = <1875000>;
regulator-boot-on;
@@ -231,77 +238,93 @@
regulator-ramp-delay = <6250>;
};
- sw2_reg: sw2 {
+ /* VDD_HIGH */
+ reg_3p0v: sw2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <3950000>;
regulator-boot-on;
regulator-always-on;
};
- sw3a_reg: sw3a {
+ /* VDD_DDR */
+ reg_ddra: sw3a {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
- sw3b_reg: sw3b {
+ /* VDD_DDR */
+ reg_ddrb: sw3b {
regulator-min-microvolt = <400000>;
regulator-max-microvolt = <1975000>;
regulator-boot-on;
regulator-always-on;
};
- sw4_reg: sw4 {
+ /* VDD_1P8 */
+ reg_1p8v: 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_PCI_1P5_1 */
+ reg_1p5va: vgen1 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
+ regulator-boot-on;
+ regulator-always-on;
};
- vgen2_reg: vgen2 {
+ /* VDD_PCI_1P5_2 */
+ reg_1p5vb: vgen2 {
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1550000>;
+ regulator-boot-on;
+ regulator-always-on;
};
- vgen3_reg: vgen3 {
+ /* unused */
+ reg_vgen3: vgen3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
- vgen4_reg: vgen4 {
+ /* VDD_AUD_1P8 */
+ reg_aud_1p8v: vgen4 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
- vgen5_reg: vgen5 {
+ /* VDD_2P5 */
+ reg_2p5v: 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;
@@ -320,7 +343,7 @@
compatible = "fsl,sgtl5000";
reg = <0x0a>;
clocks = <&clks 201>;
- VDDA-supply = <&sw4_reg>;
+ VDDA-supply = <®_1p8v>;
VDDIO-supply = <®_3p3v>;
};
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-31 4:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1414729631-11005-1-git-send-email-tharvey@gateworks.com>
2014-10-31 4:27 ` [PATCH 3/5] ARM: dts: imx: add cpu0 alias Tim Harvey
2014-10-31 4:27 ` [PATCH 5/5] ARM: imx: ventana: enable LDO bypass mode for GW54xx Tim Harvey
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).