arm64: dts: qcom: use DT label for DSI outputs

Instead of keeping a copy of the DT tree going down to the DSI output
endpoint use the label to reference it directly, making DTs less
error-prone.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250815-msm-dsi-outs-v2-1-3662704e833f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Dmitry Baryshkov 2025-08-15 18:46:04 +03:00 committed by Bjorn Andersson
parent a300bbd90c
commit d7d28bcc20
10 changed files with 52 additions and 109 deletions

View File

@ -725,15 +725,11 @@ &mdss_dsi0 {
qcom,dual-dsi-mode;
qcom,master-dsi;
#endif
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {

View File

@ -323,15 +323,11 @@ panel0_in: endpoint {
};
};
};
};
ports {
port@1 {
endpoint {
remote-endpoint = <&panel0_in>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&panel0_in>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {

View File

@ -90,15 +90,11 @@ panel_in: endpoint {
};
};
};
};
ports {
port@1 {
endpoint {
remote-endpoint = <&panel_in>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&panel_in>;
data-lanes = <0 1 2 3>;
};
&sdhc_2 {

View File

@ -148,15 +148,11 @@ panel_in: endpoint {
};
};
};
};
ports {
port@1 {
endpoint {
remote-endpoint = <&panel_in>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&panel_in>;
data-lanes = <0 1 2 3>;
};
&pm6150_adc {

View File

@ -534,15 +534,11 @@ &mdss_dsi0 {
qcom,dual-dsi-mode;
qcom,master-dsi;
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {
@ -560,15 +556,11 @@ &mdss_dsi1 {
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
status = "okay";
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_b>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi1_out {
remote-endpoint = <&lt9611_b>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi1_phy {

View File

@ -445,15 +445,6 @@ &mdss_dsi0 {
qcom,dual-dsi-mode;
qcom,master-dsi;
ports {
port@1 {
endpoint {
remote-endpoint = <&truly_in_0>;
data-lanes = <0 1 2 3>;
};
};
};
panel@0 {
compatible = "truly,nt35597-2K-display";
reg = <0>;
@ -483,6 +474,11 @@ truly_in_1: endpoint {
};
};
&mdss_dsi0_out {
remote-endpoint = <&truly_in_0>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {
status = "okay";
vdds-supply = <&vdda_mipi_dsi0_pll>;
@ -497,15 +493,11 @@ &mdss_dsi1 {
/* DSI1 is slave, so use DSI0 clocks */
assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
};
ports {
port@1 {
endpoint {
remote-endpoint = <&truly_in_1>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi1_out {
remote-endpoint = <&truly_in_1>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi1_phy {

View File

@ -598,15 +598,11 @@ &mdss {
&mdss_dsi0 {
status = "okay";
vdda-supply = <&vreg_l26a_1p2>;
};
ports {
port@1 {
endpoint {
remote-endpoint = <&sn65dsi86_in_a>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&sn65dsi86_in_a>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {

View File

@ -478,15 +478,11 @@ &mdss_dsi0 {
qcom,dual-dsi-mode;
qcom,master-dsi;
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {
@ -504,15 +500,11 @@ &mdss_dsi1 {
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
status = "okay";
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_b>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi1_out {
remote-endpoint = <&lt9611_b>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi1_phy {

View File

@ -385,15 +385,11 @@ &cdsp {
&mdss_dsi0 {
vdda-supply = <&vreg_l6b_1p2>;
status = "okay";
};
ports {
port@1 {
endpoint {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&lt9611_a>;
data-lanes = <0 1 2 3>;
};
&mdss_dsi0_phy {

View File

@ -60,19 +60,10 @@ panel0_in: endpoint {
};
};
};
};
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
mdss_dsi0_out: endpoint {
remote-endpoint = <&panel0_in>;
};
};
};
&mdss_dsi0_out {
remote-endpoint = <&panel0_in>;
};
&spi4 {