Skip to contentSkip to conversation

ARM: dts: imx6qdl-dhcom-pdk2: Fill in missing panel power-supply

PATCH Applied Marek Vasut 3 participants 3 messages Oct 15, 2024 – Oct 22, 2024

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

PATCH 1/1 ARM: dts: imx6qdl-dhcom-pdk2: Fill in missing panel power-supply

Add missing panel power-supply property to DT to fix the following warning. The power supply on this device is very simple chain of regulators from the main 24V input, describe those.

"
arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dtb: panel: 'power-supply' is a required property "

---
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 .../boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +20 -0
index 773fdcfcd0015..d7c2b30aecfd1 100644
@@ -143,6 +143,7 @@ led-8 {
 	panel {
 		backlight = <&display_bl>;
 		compatible = "edt,etm0700g0edh6";
+		power-supply = <&reg_panel_3v3>;
 
 		port {
 			lcd_panel_in: endpoint {
@@ -151,6 +152,25 @@ lcd_panel_in: endpoint {
 		};
 	};
 
+	/* Filtered supply voltage */
+	reg_pdk2_24v: regulator-pdk2-24v {
+		compatible = "regulator-fixed";
+		regulator-always-on;
+		regulator-max-microvolt = <24000000>;
+		regulator-min-microvolt = <24000000>;
+		regulator-name = "24V_PDK2";
+	};
+
+	/* 560-200 U1 */
+	reg_panel_3v3: regulator-panel-3v3 {
+		compatible = "regulator-fixed";
+		regulator-always-on;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-name = "3V3_PANEL";
+		vin-supply = <&reg_pdk2_24v>;
+	};
+
 	sound {
 		audio-codec = <&sgtl5000>;
 		audio-routing =
Signature · 1 line
2.45.2
maintainer Reviewed-by on v1 1/1
#1 lore raw

From: Marek Vasut <[email protected]>
Sent: Wednesday, October 16, 2024 1:25 AM

Quoted 57 lines

Add missing panel power-supply property to DT to fix the following warning. The power supply on this device is very simple chain of regulators from the main 24V input, describe those.

"
arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dtb: panel: 'power-supply' is a required property
"

---
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

---
 .../boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +13 -0
index 773fdcfcd0015..d7c2b30aecfd1 100644
@@ -143,6 +143,7 @@ led-8 {
        panel {
                backlight = <&display_bl>;
                compatible = "edt,etm0700g0edh6";
+               power-supply = <&reg_panel_3v3>;
 
                port {
                        lcd_panel_in: endpoint {
@@ -151,6 +152,25 @@ lcd_panel_in: endpoint {
                };
        };
 
+       /* Filtered supply voltage */
+       reg_pdk2_24v: regulator-pdk2-24v {
+               compatible = "regulator-fixed";
+               regulator-always-on;
+               regulator-max-microvolt = <24000000>;
+               regulator-min-microvolt = <24000000>;
+               regulator-name = "24V_PDK2";
+       };
+
+       /* 560-200 U1 */
+       reg_panel_3v3: regulator-panel-3v3 {
+               compatible = "regulator-fixed";

arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi lcd_panel_in: endpoint { · line 176

Quoted 10 lines
arch/arm/boot/dts/nxp/imx/imx6qdl-dhcom-pdk2.dtsi +7 -0
+               regulator-always-on;
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-name = "3V3_PANEL";
+               vin-supply = <&reg_pdk2_24v>;
+       };
+
        sound {
                audio-codec = <&sgtl5000>;
                audio-routing =
Applied
#2 lore raw
In reply to Marek Vasut
Quoted 9 lines · Marek Vasut

Add missing panel power-supply property to DT to fix the following warning. The power supply on this device is very simple chain of regulators from the main 24V input, describe those.

"
arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dtb: panel: 'power-supply' is a required property "

Applied, thanks!