[PATCH v2 5/6] ARM: dts: imx6qdl: pfla02: use dummy regulators

Andrej Picej andrej.picej at norik.com
Fri Nov 19 01:54:28 PST 2021


The power for the phyFLEX sd cards and ethernet controller are supplied
by the DA9063 PMIC's LDOs. There is no barebox driver for those LDO
regulators. Thus use dummy-regulators to suppress warning message.

Signed-off-by: Andrej Picej <andrej.picej at norik.com>
---
Changes in v2:
 - move "barebox,allow-dummy-supply" property from regulator consumer to
 regulator provider
---
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index 0653fcc3c..ada160768 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -81,15 +81,6 @@
 	};
 };
 
-&fec {
-	/*
-	 * barebox doesn't have a driver for the PMIC providing the phy-supply
-	 * (dlg,da9063). So remove the phy-supply property and rely on the
-	 * PMIC's reset default which has this supply enabled.
-	 */
-	/delete-property/ phy-supply;
-};
-
 &gpmi {
 	partitions {
 		compatible = "fixed-partitions";
@@ -162,5 +153,8 @@
 		watchdog-priority = <500>;
 		restart-priority = <500>;
 		reset-source-priority = <500>;
+		regulators {
+			barebox,allow-dummy-supply;
+		};
 	};
 };
-- 
2.25.1




More information about the barebox mailing list