dt-bindings: display: bridge: lt9211: Require data-lanes on DSI input ports
Subsystems (4)
PATCH v2 1/1 dt-bindings: display: bridge: lt9211: Require data-lanes on DSI input ports
The Lontium LT9211 is capable of 1..4 DSI lanes per input DSI port, describe the lane count for each input port in the schema.
For example Linux kernel driver does already use that information and fails to probe if it is missing.
---
Cc: Andrzej Hajda <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jernej Skrabec <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Robert Foss <[email protected]>
Cc: Simona Vetter <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: - Update commit message, indicate Linux already requires data-lanes property
- Add required: data-lanes
--- .../display/bridge/lontium,lt9211.yaml | 43 ++++++++++++++++++- 1 file changed, 41 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/display/bridge/lontium,lt9211.yaml +41 -2
@@ -36,18 +36,56 @@ properties: properties: port@0: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Primary MIPI DSI port-1 for MIPI input or LVDS port-1 for LVDS input or DPI input. + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + description: array of physical DSI data lane indexes. + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + required: + - data-lanes + port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: Additional MIPI port-2 for MIPI input or LVDS port-2 for LVDS input. Used in combination with primary port-1 to drive higher resolution displays + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + description: array of physical DSI data lane indexes. + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + + required: + - data-lanes + port@2: $ref: /schemas/graph.yaml#/properties/port description:
@@ -99,6 +137,7 @@ examples: reg = <0>; endpoint { + data-lanes = <1 2 3 4>; remote-endpoint = <&dsi0_out>; }; };
Signature · 1 line
2.53.0
Quoted 7 lines · Marek Vasut
The Lontium LT9211 is capable of 1..4 DSI lanes per input DSI port, describe the lane count for each input port in the schema.
For example Linux kernel driver does already use that information and fails to probe if it is missing.
Signed-off-by Marek Vasut <[email protected]>
Best regards,
Krzysztof
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Marek Vasut
The Lontium LT9211 is capable of 1..4 DSI lanes per input DSI port, describe the lane count for each input port in the schema.
For example Linux kernel driver does already use that information and fails to probe if it is missing.
Signed-off-by Marek Vasut <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Can this be applied to drm-misc now ?
Thank you
Quoted 10 lines · Krzysztof Kozlowski
Quoted 7 lines · Marek Vasut
The Lontium LT9211 is capable of 1..4 DSI lanes per input DSI port, describe the lane count for each input port in the schema.
For example Linux kernel driver does already use that information and fails to probe if it is missing.
Signed-off-by Marek Vasut <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>
Can this be applied via drm-misc now ?
Dmitry Baryshkov
AppliedQuoted 8 lines · Marek Vasut
The Lontium LT9211 is capable of 1..4 DSI lanes per input DSI port, describe the lane count for each input port in the schema.
For example Linux kernel driver does already use that information and fails to probe if it is missing.
[...]
Applied to drm-misc-next, thanks!
[1/1] dt-bindings: display: bridge: lt9211: Require data-lanes on DSI input ports
commit: c2738d88b624a977e42a1734fad4b15993ac354a
Best regards,
Signature · 2 lines
With best wishes Dmitry