[PATCH 2/9] arm64: dts: qcom: sc7280: Make eDP/DP controller default DP
Bjorn Andersson
quic_bjorande at quicinc.com
Wed Feb 21 23:19:10 UTC 2024
The newly introduced mechanism for selecting eDP mode allow us to make a
DisplayPort controller operate in eDP mode, but not the other way
around. The qcom,sc7280-edp compatible is obviously tied to eDP, so this
would not allow us to select DisplayPort-mode.
Switch the compatible of the mdss_edp instance and make it eDP for the
SC7280 qcard.
Signed-off-by: Bjorn Andersson <quic_bjorande at quicinc.com>
---
arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 2 ++
arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
index f9b96bd2477e..e339b181a9ac 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi
@@ -348,6 +348,8 @@ &lpass_va_macro {
/* NOTE: Not all Qcards have eDP connector stuffed */
&mdss_edp {
+ is-edp;
+
aux-bus {
edp_panel: panel {
compatible = "edp-panel";
diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 581818676a4c..a19c278ebec9 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -4513,7 +4513,7 @@ mdss_dsi_phy: phy at ae94400 {
};
mdss_edp: edp at aea0000 {
- compatible = "qcom,sc7280-edp";
+ compatible = "qcom,sc7280-dp";
pinctrl-names = "default";
pinctrl-0 = <&edp_hot_plug_det>;
--
2.25.1
More information about the Freedreno
mailing list