Skip to contentSkip to conversation

arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node

PATCH Superseded Tanmay Shah 2 participants 2 messages Aug 17, 2020 – Aug 18, 2020

Subsystems (4)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node

This node defines alternate DP HPD functionality of GPIO.

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +13 -0
index bf2f2bb1aa79..0eedf057acc1 100644
@@ -1457,6 +1457,19 @@ pinconf-sd-cd {
 					drive-strength = <2>;
 				};
 			};
+
+			dp_hot_plug_det: dp-hot-plug-det {
+				pinmux {
+					pins = "gpio117";
+					function = "dp_hot";
+				};
+
+				pinconf {
+					pins = "gpio117";
+					bias-disable;
+					input-enable;
+				};
+			};
 		};
 
 		gpu: gpu@5000000 {

base-commit: 62975d27d647a40c58d3b96c29b911fc4f33c310
prerequisite-patch-id: a4d3e51b6e1200ff7d4550f206db98a92c0a098f

Signature · 7 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

Quoting Tanmay Shah (2020-08-17 15:59:12)

Quoted 12 lines

This node defines alternate DP HPD functionality of GPIO.

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +0 -0
index bf2f2bb1aa79..0eedf057acc1 100644

arch/arm64/boot/dts/qcom/sc7180.dtsi pinconf-sd-cd { · line 1461

Quoted 5 lines
arch/arm64/boot/dts/qcom/sc7180.dtsi +2 -0
@@ -1457,6 +1457,19 @@ pinconf-sd-cd {
                                        drive-strength = <2>;
                                };
                        };
+
+                       dp_hot_plug_det: dp-hot-plug-det {

And this should be sorted alphabetically instead of put at the end of the node.

Quoted 15 lines
arch/arm64/boot/dts/qcom/sc7180.dtsi +11 -0
+                               pinmux {
+                                       pins = "gpio117";
+                                       function = "dp_hot";
+                               };
+
+                               pinconf {
+                                       pins = "gpio117";
+                                       bias-disable;
+                                       input-enable;
+                               };
+                       };
                };
 
                gpu: gpu@5000000 {