Message ID | 20240221-rb3gen2-dp-connector-v1-2-dc0964ef7d96@quicinc.com |
---|---|
State | New |
Headers | show |
Series | arm64: dts: qcom: qcs6490-rb3gen2: Enable two displays | expand |
On Thu, 22 Feb 2024 at 01:19, Bjorn Andersson <quic_bjorande@quicinc.com> wrote: > > 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@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(-) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 2/22/24 00:19, Bjorn Andersson wrote: > 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@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
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@ae94400 { }; mdss_edp: edp@aea0000 { - compatible = "qcom,sc7280-edp"; + compatible = "qcom,sc7280-dp"; pinctrl-names = "default"; pinctrl-0 = <&edp_hot_plug_det>;
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@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(-)