Skip to contentSkip to conversation

arm64: dts: mt8183: jacuzzi: Fix bus properties in anx's DSI endpoint

PATCH Superseded Nícolas F. R. A. Prado 3 participants 3 messages Jan 20, 2022 – Jan 31, 2022

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mt8183: jacuzzi: Fix bus properties in anx's DSI endpoint

mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of its DSI host. However, after fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature"), a bus-type property started being required in the endpoint node by the driver to indicate whether it is DSI or DPI.

Add the missing bus-type property and set it to 5 (V4L2_FWNODE_BUS_TYPE_PARALLEL) so that the driver has its input configured to DSI and the display pipeline can probe correctly.

While at it, also set the data-lanes property that was also introduced in that same commit, so that we don't rely on the default value.

Fixes fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature")
---
 arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +2 -0
index 8f7bf33f607d..e8f133dc96b9 100644
@@ -171,6 +171,8 @@ port@0 {
 
 			anx7625_in: endpoint {
 				remote-endpoint = <&dsi_out>;
+				bus-type = <5>;
+				data-lanes = <0 1 2 3>;
 			};
 		};
 
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw

Il 20/01/22 23:42, Nícolas F. R. A. Prado ha scritto:

Quoted 9 lines

mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of its DSI host. However, after fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature"), a bus-type property started being required in the endpoint node by the driver to indicate whether it is DSI or DPI.

Add the missing bus-type property and set it to 5 (V4L2_FWNODE_BUS_TYPE_PARALLEL) so that the driver has its input configured to DSI and the display pipeline can probe correctly.

Quoted 5 lines

While at it, also set the data-lanes property that was also introduced in that same commit, so that we don't rely on the default value.

Fixes fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature")
Quoted 18 lines
---
  arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 ++
  1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +2 -0
index 8f7bf33f607d..e8f133dc96b9 100644
@@ -171,6 +171,8 @@ port@0 {
 
  			anx7625_in: endpoint {
  				remote-endpoint = <&dsi_out>;
+				bus-type = <5>;
+				data-lanes = <0 1 2 3>;
  			};
  		};
 
#2 lore raw

Hey,

Quoted 29 lines · AngeloGioacchino Del Regno

Il 20/01/22 23:42, Nícolas F. R. A. Prado ha scritto:

Quoted 9 lines

mt8183-kukui-jacuzzi has an anx7625 bridge connected to the output of its DSI host. However, after fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature"), a bus-type property started being required in the endpoint node by the driver to indicate whether it is DSI or DPI.

Add the missing bus-type property and set it to 5 (V4L2_FWNODE_BUS_TYPE_PARALLEL) so that the driver has its input configured to DSI and the display pipeline can probe correctly.

Quoted 5 lines

While at it, also set the data-lanes property that was also introduced in that same commit, so that we don't rely on the default value.

Fixes fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature")
Quoted 10 lines
---
  arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 2 ++
  1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +0 -0
index 8f7bf33f607d..e8f133dc96b9 100644
@@ -171,6 +171,8 @@ port@0 {
 
Quoted 8 lines

arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi port@0 { · line 178

Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi +2 -0
                      anx7625_in: endpoint {
                              remote-endpoint = <&dsi_out>;
+                             bus-type = <5>;
+                             data-lanes = <0 1 2 3>;
                      };
              };
 

This patch does not pass checkpatch --strict, please add the word commit before the hash in the commit message to fix this.

Rob.