Skip to content

Commit 497f0a1

Browse files
tmlindrobertfoss
authored andcommitted
dt-bindings: display: bridge: tc358775: Add data-lanes
The device uses a clock lane, and 1 to 4 DSI data lanes. Let's add the data-lanes property starting at 1 similar to what the other bridge bindings are doing. Let's also drop the data-lanes properties in the example for the DSI host controller to avoid confusion. The configuration of the DSI host depends on the controller used and is unrelated to the bridge binding. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240225062008.33191-3-tony@atomide.com
1 parent 51debb6 commit 497f0a1

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

Documentation/devicetree/bindings/display/bridge/toshiba,tc358775.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,27 @@ properties:
4646

4747
properties:
4848
port@0:
49-
$ref: /schemas/graph.yaml#/properties/port
49+
$ref: /schemas/graph.yaml#/$defs/port-base
50+
unevaluatedProperties: false
5051
description: |
5152
DSI Input. The remote endpoint phandle should be a
5253
reference to a valid mipi_dsi_host device node.
5354
55+
properties:
56+
endpoint:
57+
$ref: /schemas/media/video-interfaces.yaml#
58+
unevaluatedProperties: false
59+
60+
properties:
61+
data-lanes:
62+
description: array of physical DSI data lane indexes.
63+
minItems: 1
64+
items:
65+
- const: 1
66+
- const: 2
67+
- const: 3
68+
- const: 4
69+
5470
port@1:
5571
$ref: /schemas/graph.yaml#/properties/port
5672
description: |
@@ -107,6 +123,7 @@ examples:
107123
reg = <0>;
108124
d2l_in_test: endpoint {
109125
remote-endpoint = <&dsi0_out>;
126+
data-lanes = <1 2 3 4>;
110127
};
111128
};
112129
@@ -131,7 +148,6 @@ examples:
131148
reg = <1>;
132149
dsi0_out: endpoint {
133150
remote-endpoint = <&d2l_in_test>;
134-
data-lanes = <0 1 2 3>;
135151
};
136152
};
137153
};
@@ -166,6 +182,7 @@ examples:
166182
reg = <0>;
167183
d2l_in_dual: endpoint {
168184
remote-endpoint = <&dsi0_out_dual>;
185+
data-lanes = <1 2 3 4>;
169186
};
170187
};
171188
@@ -197,7 +214,6 @@ examples:
197214
reg = <1>;
198215
dsi0_out_dual: endpoint {
199216
remote-endpoint = <&d2l_in_dual>;
200-
data-lanes = <0 1 2 3>;
201217
};
202218
};
203219
};

0 commit comments

Comments
 (0)