Skip to content

Commit 71d2143

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1
This controller support scalable data lanes from 1 to 4. Add the 'data-lanes' property to configure the number of MIPI display panel lanes selected for boards. Change $ref of port@1 from 'port' to 'port-base' and add 'endpoint' property referencing video-interfaces.yaml. Allow 'data-lanes' values 1, 2, 3, and 4 for port@1. Fix below CHECK_DTB warnings: arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtb: dsi@30a00000: ports:port@1:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpected) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20250407150442.2778299-1-Frank.Li@nxp.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 1296dcb commit 71d2143

File tree

1 file changed

+17
-1
lines changed
  • Documentation/devicetree/bindings/display/bridge

1 file changed

+17
-1
lines changed

Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,27 @@ properties:
111111
unevaluatedProperties: false
112112

113113
port@1:
114-
$ref: /schemas/graph.yaml#/properties/port
114+
$ref: /schemas/graph.yaml#/$defs/port-base
115+
unevaluatedProperties: false
115116
description:
116117
DSI output port node to the panel or the next bridge
117118
in the chain
118119

120+
properties:
121+
endpoint:
122+
$ref: /schemas/media/video-interfaces.yaml#
123+
unevaluatedProperties: false
124+
125+
properties:
126+
data-lanes:
127+
description: array of physical DSI data lane indexes.
128+
minItems: 1
129+
items:
130+
- const: 1
131+
- const: 2
132+
- const: 3
133+
- const: 4
134+
119135
required:
120136
- port@0
121137
- port@1

0 commit comments

Comments
 (0)