Message ID | 20250225121824.3869719-9-quic_amakhija@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Add DSI display support for SA8775P target | expand |
On 25.02.2025 1:18 PM, Ayushi Makhija wrote: > Enable both DSI to DP bridge ports on SA8775P Ride plaftrom. > > Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 66 +++++++++++++++++++++- > 1 file changed, 64 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > index 151f66512303..02d8a9c2c909 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > @@ -128,6 +128,30 @@ dp1_connector_in: endpoint { > }; > }; > }; > + > + dsi0-connector { > + compatible = "dp-connector"; > + label = "DSI0"; DP0 > + type = "full-size"; > + > + port { > + dsi0_connector_in: endpoint { > + remote-endpoint = <&anx7625_1_out>; > + }; > + }; > + }; > + > + dsi1-connector { > + compatible = "dp-connector"; > + label = "DSI1"; DP1 Konrad
On Tue, Feb 25, 2025 at 05:48:21PM +0530, Ayushi Makhija wrote: > Enable both DSI to DP bridge ports on SA8775P Ride plaftrom. > > Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 66 +++++++++++++++++++++- > 1 file changed, 64 insertions(+), 2 deletions(-) Please squash into the previous patch. It doesn't make a lot of sense separately. > > diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > index 151f66512303..02d8a9c2c909 100644 > --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi > @@ -128,6 +128,30 @@ dp1_connector_in: endpoint { > }; > }; > }; > + > + dsi0-connector { dpN-connector. It is not DSI. > + compatible = "dp-connector"; > + label = "DSI0"; Is it an actual label on it? > + type = "full-size"; > + > + port { > + dsi0_connector_in: endpoint { > + remote-endpoint = <&anx7625_1_out>; > + }; > + }; > + }; > +
diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi index 151f66512303..02d8a9c2c909 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi @@ -128,6 +128,30 @@ dp1_connector_in: endpoint { }; }; }; + + dsi0-connector { + compatible = "dp-connector"; + label = "DSI0"; + type = "full-size"; + + port { + dsi0_connector_in: endpoint { + remote-endpoint = <&anx7625_1_out>; + }; + }; + }; + + dsi1-connector { + compatible = "dp-connector"; + label = "DSI1"; + type = "full-size"; + + port { + dsi1_connector_in: endpoint { + remote-endpoint = <&anx7625_2_out>; + }; + }; + }; }; &apps_rsc { @@ -598,7 +622,9 @@ anx7625_1_in: endpoint { dsi2dp_bridge_1_out: port@1 { reg = <1>; - anx7625_1_out: endpoint { }; + anx7625_1_out: endpoint { + remote-endpoint = <&dsi0_connector_in>; + }; }; }; }; @@ -632,7 +658,9 @@ anx7625_2_in: endpoint { dsi2dp_bridge_2_out: port@1 { reg = <1>; - anx7625_2_out: endpoint { }; + anx7625_2_out: endpoint { + remote-endpoint = <&dsi1_connector_in>; + }; }; }; }; @@ -685,6 +713,40 @@ &mdss0_dp1_phy { status = "okay"; }; +&mdss0_dsi0 { + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi0_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&anx7625_1_in>; +}; + +&mdss0_dsi0_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +}; + +&mdss0_dsi1 { + vdda-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&mdss0_dsi1_out { + data-lanes = <0 1 2 3>; + remote-endpoint = <&anx7625_2_in>; +}; + +&mdss0_dsi1_phy { + vdds-supply = <&vreg_l4a>; + + status = "okay"; +}; + &pmm8654au_0_gpios { gpio-line-names = "DS_EN", "POFF_COMPLETE",
Enable both DSI to DP bridge ports on SA8775P Ride plaftrom. Signed-off-by: Ayushi Makhija <quic_amakhija@quicinc.com> --- arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 66 +++++++++++++++++++++- 1 file changed, 64 insertions(+), 2 deletions(-)