Skip to contentSkip to conversation

arm64: dts: qcom: c630: Move panel to aux-bus

PATCH In review Bjorn Andersson 2 participants 3 messages Sep 24, 2021 – Sep 28, 2021

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

PATCH 1/1 arm64: dts: qcom: c630: Move panel to aux-bus

With the newly introduced aux-bus under the TI SN65DSI86 the panel node should be described as a child instead of a standalone node, move it there.

---
 .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 27 +++++++++----------
 1 file changed, 13 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +13 -14
index bd22352b6c7a..4818ca6d820d 100644
@@ -56,20 +56,6 @@ mode {
 		};
 	};
 
-	panel {
-		compatible = "boe,nv133fhm-n61";
-		no-hpd;
-		backlight = <&backlight>;
-
-		ports {
-			port {
-				panel_in_edp: endpoint {
-					remote-endpoint = <&sn65dsi86_out>;
-				};
-			};
-		};
-	};
-
 	/* Reserved memory changes for IPA */
 	reserved-memory {
 		wlan_msa_mem: memory@8c400000 {
@@ -441,6 +427,19 @@ sn65dsi86_out: endpoint {
 				};
 			};
 		};
+
+		aux-bus {
+			panel: panel {
+				compatible = "boe,nv133fhm-n61";
+				backlight = <&backlight>;
+
+				port {
+					panel_in_edp: endpoint {
+						remote-endpoint = <&sn65dsi86_out>;
+					};
+				};
+			};
+		};
 	};
 };
 
Signature · 1 line
2.32.0
#1 lore raw
Quoted 14 lines · Bjorn Andersson

With the newly introduced aux-bus under the TI SN65DSI86 the panel node should be described as a child instead of a standalone node, move it there.

---
 .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 27 +++++++++----------
 1 file changed, 13 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +0 -0
index bd22352b6c7a..4818ca6d820d 100644

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts mode { · line 62

Quoted 7 lines
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +0 -4
@@ -56,20 +56,6 @@ mode {
 		};
 	};
 
-	panel {
-		compatible = "boe,nv133fhm-n61";
-		no-hpd;
-		backlight = <&backlight>;

There is some prerequisite change for this patch? I do not find this backlight node on v5.15-rc, neither linux-next.

Shawn

Quoted 36 lines
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +13 -10
-
-		ports {
-			port {
-				panel_in_edp: endpoint {
-					remote-endpoint = <&sn65dsi86_out>;
-				};
-			};
-		};
-	};
-
 	/* Reserved memory changes for IPA */
 	reserved-memory {
 		wlan_msa_mem: memory@8c400000 {
@@ -441,6 +427,19 @@ sn65dsi86_out: endpoint {
 				};
 			};
 		};
+
+		aux-bus {
+			panel: panel {
+				compatible = "boe,nv133fhm-n61";
+				backlight = <&backlight>;
+
+				port {
+					panel_in_edp: endpoint {
+						remote-endpoint = <&sn65dsi86_out>;
+					};
+				};
+			};
+		};
 	};
 };
 
Signature · 1 line
2.32.0
#2 lore raw
Quoted 18 lines · Shawn Guo
Quoted 17 lines · Bjorn Andersson

With the newly introduced aux-bus under the TI SN65DSI86 the panel node should be described as a child instead of a standalone node, move it there.

---
 .../boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 27 +++++++++----------
 1 file changed, 13 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +0 -0
index bd22352b6c7a..4818ca6d820d 100644
@@ -56,20 +56,6 @@ mode {
 		};
 	};
 
Quoted 8 lines

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts mode { · line 62

Quoted 4 lines
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +0 -4
-	panel {
-		compatible = "boe,nv133fhm-n61";
-		no-hpd;
-		backlight = <&backlight>;

There is some prerequisite change for this patch? I do not find this backlight node on v5.15-rc, neither linux-next.

Seems I had this and the backlight addition patch in the wrong order in my local tree. Let's see if we can land the backlight support and then I'll repost this.

Thanks,
Bjorn

Quoted 38 lines

Shawn

Quoted 36 lines
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +13 -10
-
-		ports {
-			port {
-				panel_in_edp: endpoint {
-					remote-endpoint = <&sn65dsi86_out>;
-				};
-			};
-		};
-	};
-
 	/* Reserved memory changes for IPA */
 	reserved-memory {
 		wlan_msa_mem: memory@8c400000 {
@@ -441,6 +427,19 @@ sn65dsi86_out: endpoint {
 				};
 			};
 		};
+
+		aux-bus {
+			panel: panel {
+				compatible = "boe,nv133fhm-n61";
+				backlight = <&backlight>;
+
+				port {
+					panel_in_edp: endpoint {
+						remote-endpoint = <&sn65dsi86_out>;
+					};
+				};
+			};
+		};
 	};
 };
 
Signature · 1 line
2.32.0