Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Frank Li and committed by
Rob Herring (Arm)
71d21432 1296dcba

+17 -1
+17 -1
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
··· 111 111 unevaluatedProperties: false 112 112 113 113 port@1: 114 - $ref: /schemas/graph.yaml#/properties/port 114 + $ref: /schemas/graph.yaml#/$defs/port-base 115 + unevaluatedProperties: false 115 116 description: 116 117 DSI output port node to the panel or the next bridge 117 118 in the chain 119 + 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 118 134 119 135 required: 120 136 - port@0