Skip to contentSkip to conversation

ARM: dts: imx6qdl-apalis: add phy-supply

PATCH In review Stefan Agner 2 participants 3 messages Jan 18, 2019 – Jan 21, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-apalis: add phy-supply

Use the VDD I/O rail as phy-supply regulator. Technically, the regulator has multiple rails, but currently the driver only supports a single phy-supply. The VDD I/O rail has the highest power consumption when software power down is used and hence the highest saving potential.

---
 arch/arm/boot/dts/imx6qdl-apalis.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +1 -0
index 0b47aecf336a..cf66f9ececbd 100644
@@ -241,6 +241,7 @@
 	phy-handle = <&ethphy>;
 	phy-reset-duration = <10>;
 	phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+	phy-supply = <&vgen5_reg>;
 	status = "okay";
 
 	mdio {
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Stefan Agner

Use the VDD I/O rail as phy-supply regulator. Technically, the regulator has multiple rails, but currently the driver only supports a single phy-supply. The VDD I/O rail has the highest power consumption when software power down is used and hence the highest saving potential.

Quoted 17 lines
---
 arch/arm/boot/dts/imx6qdl-apalis.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +1 -0
index 0b47aecf336a..cf66f9ececbd 100644
@@ -241,6 +241,7 @@
 	phy-handle = <&ethphy>;
 	phy-reset-duration = <10>;
 	phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+	phy-supply = <&vgen5_reg>;
 	status = "okay";
 
 	mdio {
#2 lore raw
In reply to Stefan Agner
Quoted 5 lines · Stefan Agner

Use the VDD I/O rail as phy-supply regulator. Technically, the regulator has multiple rails, but currently the driver only supports a single phy-supply. The VDD I/O rail has the highest power consumption when software power down is used and hence the highest saving potential.

Please don't merge this patch. The vgen5_reg is also used as a pull-up for USB ID pin, it would not be safe for the FEC driver to disable this rail.

--
Stefan

Quoted 19 lines
---
 arch/arm/boot/dts/imx6qdl-apalis.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6qdl-apalis.dtsi +1 -0
index 0b47aecf336a..cf66f9ececbd 100644
@@ -241,6 +241,7 @@
 	phy-handle = <&ethphy>;
 	phy-reset-duration = <10>;
 	phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+	phy-supply = <&vgen5_reg>;
 	status = "okay";
 
 	mdio {