dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1
Subsystems (5)
Frank Li
maintainerPATCH v2 1/1 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)
---
Change from v1 to v2
- Add the reason why need 'data-lanes' property in commit message.
--- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +17 -1
@@ -111,11 +111,27 @@ properties: unevaluatedProperties: false port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: DSI output port node to the panel or the next bridge in the chain + 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: - port@0 - port@1
Signature · 1 line
2.34.1
Hi Frank,
Am Freitag, 10. Januar 2025, 17:17:32 CET schrieb Frank Li:
Quoted 8 lines
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.
Quoted 5 lines
Fix below
CHECK_DTBwarnings: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)Signed-off-by Frank Li <[email protected]>
I've had a similar patch WIP. Looks good to me. For the record I based my local change according to commit 54df4868fb728 ("dt-bindings:
samsung,mipi-dsim: Use port-base reference")
Quoted 41 lines
---
Change from v1 to v2
- Add the reason why need 'data-lanes' property in commit message.--- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +17
-1@@ -111,11 +111,27 @@ properties: unevaluatedProperties: false port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: DSI output port node to the panel or the next bridge in the chain + 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: - port@0 - port@1
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht München, HRB 105018 Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider http://www.tq-group.com/
Quoted 12 lines · Frank Li
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_DTBwarnings: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)
Quoted 7 lines
Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add the reason why need 'data-lanes' property in commit message.--- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Best regards,
Krzysztof
Frank Li
maintainerQuoted 21 lines · Krzysztof Kozlowski
Quoted 12 lines · Frank Li
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_DTBwarnings: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)Quoted 7 lines
Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add the reason why need 'data-lanes' property in commit message.--- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Quoted 1 line
Reviewed-by Krzysztof Kozlowski <[email protected]>
All:
Anyone take care this patch? Krysztof already acked.
Frank
Quoted 4 lines
Best regards,
Krzysztof
Frank Li
maintainerQuoted 22 lines · Frank Li
Quoted 21 lines · Krzysztof Kozlowski
Quoted 19 lines · Frank Li
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_DTBwarnings: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)Signed-off-by Frank Li <[email protected]>---
Change from v1 to v2
- Add the reason why need 'data-lanes' property in commit message.--- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Quoted 4 lines
Quoted 1 line
Reviewed-by Krzysztof Kozlowski <[email protected]>All:
Anyone take care this patch? Krysztof already acked.
Rob:
Can you pick this patch? look like display maintainer miss this
one.
Frank Li
Quoted 7 lines
Frank
Quoted 4 lines
Best regards,
Krzysztof