From: Dmitry Baryshkov Date: Thu, 4 May 2023 16:04:30 +0000 (+0300) Subject: arm64: dts: qcom: enable dual ("bonded") DSI mode for DB845c X-Git-Tag: v6.6.17~4534^2~20^2~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8721e18ca6960f3c5a6a7f58245d9ab084ad09dd;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: qcom: enable dual ("bonded") DSI mode for DB845c Now as both lt9611 and drm/msm drivers were updated to handle the 4k modes over DSI, enable "bonded" DSI mode on DB845c. This way the board utilizes both DSI links and thus can support 4k on the HDMI output. Cc: Amit Pundir Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20230504160430.4014206-1-dmitry.baryshkov@linaro.org --- diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index e14fe9b..4dea2c0 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -419,6 +419,9 @@ status = "okay"; vdda-supply = <&vreg_l26a_1p2>; + qcom,dual-dsi-mode; + qcom,master-dsi; + ports { port@1 { endpoint { @@ -434,6 +437,31 @@ vdds-supply = <&vreg_l1a_0p875>; }; +&dsi1 { + vdda-supply = <&vreg_l26a_1p2>; + + qcom,dual-dsi-mode; + + /* DSI1 is slave, so use DSI0 clocks */ + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; + + status = "okay"; + + ports { + port@1 { + endpoint { + remote-endpoint = <<9611_b>; + data-lanes = <0 1 2 3>; + }; + }; + }; +}; + +&dsi1_phy { + vdds-supply = <&vreg_l1a_0p875>; + status = "okay"; +}; + &gcc { protected-clocks = , , @@ -493,6 +521,14 @@ }; }; + port@1 { + reg = <1>; + + lt9611_b: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + port@2 { reg = <2>;