All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies
@ 2024-04-19 16:13 Abel Vesa
  2024-04-19 16:13 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in Abel Vesa
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Abel Vesa @ 2024-04-19 16:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

Both the CRD and the QCP have the data-lanes and the link-frequencies
for the DP3 in the wrong place. Both are properties of the out remote
endpoint. So move them to the mdss_dp3_out for each board.

Without these fixes, the eDP is broken on both boards.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Changes in v2:
- Dropped blank line left above the removed link-frequencies in
  mdss_dp3_in node, spotted by Konrad
- Dropped the "Display is broken ..." part from the first commit
  message
- Added Konrad's R-b tags to all patches
- Link to v1: https://lore.kernel.org/r/20240418-x1e80100-dts-fix-mdss-dp3-v1-0-9f8420e395d4@linaro.org

---
Abel Vesa (3):
      arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in
      arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3
      arm64: dts: qcom: x1e80100-qcp: Add data-lanes and link-frequencies to DP3

 arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 5 +++--
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 5 +++--
 arch/arm64/boot/dts/qcom/x1e80100.dtsi    | 2 --
 3 files changed, 6 insertions(+), 6 deletions(-)
---
base-commit: a35e92ef04c07bd473404b9b73d489aea19a60a8
change-id: 20240418-x1e80100-dts-fix-mdss-dp3-c2345ee3ee2f

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in
  2024-04-19 16:13 [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Abel Vesa
@ 2024-04-19 16:13 ` Abel Vesa
  2024-04-19 18:11   ` Dmitry Baryshkov
  2024-04-19 16:13 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3 Abel Vesa
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Abel Vesa @ 2024-04-19 16:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

The link-frequencies belong in mdss_dp3_out. Drop them from mdss_dp3_in.

Fixes: 1940c25eaa63 ("arm64: dts: qcom: x1e80100: Add display nodes")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index f5a3b39ae70e..5f90a0b3c016 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -4095,8 +4095,6 @@ port@0 {
 
 						mdss_dp3_in: endpoint {
 							remote-endpoint = <&mdss_intf5_out>;
-
-							link-frequencies = /bits/ 64 <8100000000>;
 						};
 					};
 

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3
  2024-04-19 16:13 [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Abel Vesa
  2024-04-19 16:13 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in Abel Vesa
@ 2024-04-19 16:13 ` Abel Vesa
  2024-04-19 18:12   ` Dmitry Baryshkov
  2024-04-19 16:13 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
  2024-04-20 17:51 ` [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Bjorn Andersson
  3 siblings, 1 reply; 8+ messages in thread
From: Abel Vesa @ 2024-04-19 16:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

The data-lanes are a property of the out remote endpoint, so move them
from mdss_dp3 to the mdss_dp3_out. Also add the link-frequencies to
mdss_dp3_out and make sure to include all frequencies.

Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
index d4198fa204fd..c5c2895b37c7 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
@@ -599,8 +599,6 @@ &mdss_dp3 {
 	compatible = "qcom,x1e80100-dp";
 	/delete-property/ #sound-dai-cells;
 
-	data-lanes = <0 1 2 3>;
-
 	status = "okay";
 
 	aux-bus {
@@ -620,6 +618,9 @@ ports {
 		port@1 {
 			reg = <1>;
 			mdss_dp3_out: endpoint {
+				data-lanes = <0 1 2 3>;
+				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
 				remote-endpoint = <&edp_panel_in>;
 			};
 		};

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: Add data-lanes and link-frequencies to DP3
  2024-04-19 16:13 [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Abel Vesa
  2024-04-19 16:13 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in Abel Vesa
  2024-04-19 16:13 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3 Abel Vesa
@ 2024-04-19 16:13 ` Abel Vesa
  2024-04-19 18:12   ` Dmitry Baryshkov
  2024-04-20 17:51 ` [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Bjorn Andersson
  3 siblings, 1 reply; 8+ messages in thread
From: Abel Vesa @ 2024-04-19 16:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

The data-lanes are a property of the out remote endpoint, so move them
from mdss_dp3 to the mdss_dp3_out. Also add the link-frequencies to
mdss_dp3_out and make sure to include all frequencies.

Fixes: f9a9c11471da ("arm64: dts: qcom: x1e80100-qcp: Enable more support")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
index 35580ac3430d..2061fbe7b75a 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
@@ -410,8 +410,6 @@ &mdss_dp3 {
 	compatible = "qcom,x1e80100-dp";
 	/delete-property/ #sound-dai-cells;
 
-	data-lanes = <0 1 2 3>;
-
 	status = "okay";
 
 	aux-bus {
@@ -431,6 +429,9 @@ ports {
 		port@1 {
 			reg = <1>;
 			mdss_dp3_out: endpoint {
+				data-lanes = <0 1 2 3>;
+				link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+
 				remote-endpoint = <&edp_panel_in>;
 			};
 		};

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in
  2024-04-19 16:13 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in Abel Vesa
@ 2024-04-19 18:11   ` Dmitry Baryshkov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-04-19 18:11 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Fri, 19 Apr 2024 at 19:14, Abel Vesa <abel.vesa@linaro.org> wrote:
>
> The link-frequencies belong in mdss_dp3_out. Drop them from mdss_dp3_in.
>
> Fixes: 1940c25eaa63 ("arm64: dts: qcom: x1e80100: Add display nodes")
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> index f5a3b39ae70e..5f90a0b3c016 100644
> --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
> @@ -4095,8 +4095,6 @@ port@0 {
>
>                                                 mdss_dp3_in: endpoint {
>                                                         remote-endpoint = <&mdss_intf5_out>;
> -
> -                                                       link-frequencies = /bits/ 64 <8100000000>;
>                                                 };
>                                         };
>

Not to mention that limiting DP output to HBR3 only is wrong.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3
  2024-04-19 16:13 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3 Abel Vesa
@ 2024-04-19 18:12   ` Dmitry Baryshkov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-04-19 18:12 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Fri, 19 Apr 2024 at 19:14, Abel Vesa <abel.vesa@linaro.org> wrote:
>
> The data-lanes are a property of the out remote endpoint, so move them
> from mdss_dp3 to the mdss_dp3_out. Also add the link-frequencies to
> mdss_dp3_out and make sure to include all frequencies.
>
> Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: Add data-lanes and link-frequencies to DP3
  2024-04-19 16:13 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
@ 2024-04-19 18:12   ` Dmitry Baryshkov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2024-04-19 18:12 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Fri, 19 Apr 2024 at 19:14, Abel Vesa <abel.vesa@linaro.org> wrote:
>
> The data-lanes are a property of the out remote endpoint, so move them
> from mdss_dp3 to the mdss_dp3_out. Also add the link-frequencies to
> mdss_dp3_out and make sure to include all frequencies.
>
> Fixes: f9a9c11471da ("arm64: dts: qcom: x1e80100-qcp: Enable more support")
> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies
  2024-04-19 16:13 [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Abel Vesa
                   ` (2 preceding siblings ...)
  2024-04-19 16:13 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
@ 2024-04-20 17:51 ` Bjorn Andersson
  3 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2024-04-20 17:51 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Rajendra Nayak, Sibi Sankar, Abel Vesa
  Cc: linux-arm-msm, devicetree, linux-kernel


On Fri, 19 Apr 2024 19:13:55 +0300, Abel Vesa wrote:
> Both the CRD and the QCP have the data-lanes and the link-frequencies
> for the DP3 in the wrong place. Both are properties of the out remote
> endpoint. So move them to the mdss_dp3_out for each board.
> 
> Without these fixes, the eDP is broken on both boards.
> 
> 
> [...]

Applied, thanks!

[1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in
      commit: 8a2a43a978e51bcddfe8a89bb2acebcf24f1d767
[2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3
      commit: 2351d205081cf4e7d960c0dbc5891e5fbda0b1f0
[3/3] arm64: dts: qcom: x1e80100-qcp: Add data-lanes and link-frequencies to DP3
      commit: 78a4407ca834cc448cb015e714ca230ec6bb4503

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-20 17:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 16:13 [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Abel Vesa
2024-04-19 16:13 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: Drop the link-frequencies from mdss_dp3_in Abel Vesa
2024-04-19 18:11   ` Dmitry Baryshkov
2024-04-19 16:13 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: Add data-lanes and link-frequencies to DP3 Abel Vesa
2024-04-19 18:12   ` Dmitry Baryshkov
2024-04-19 16:13 ` [PATCH v2 3/3] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
2024-04-19 18:12   ` Dmitry Baryshkov
2024-04-20 17:51 ` [PATCH v2 0/3] arm64: dts: qcom: x1e80100: Fix the data-lanes and link-frequencies Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.