* [PATCH RESEND V2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1
@ 2025-04-07 15:04 Frank Li
2025-04-07 23:48 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2025-04-07 15:04 UTC (permalink / raw)
To: krzk, robh
Cc: Frank.Li, Laurent.pinchart, agx, airlied, andrzej.hajda,
conor+dt, devicetree, dri-devel, imx, jernej.skrabec, jonas,
krzk+dt, linux-kernel, maarten.lankhorst, mripard,
neil.armstrong, rfoss, robert.chiras, simona, tzimmermann
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>
---
Missed v6.15 merge windows.
This one elimiate last two lines warning under arm64: dts/freescale
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Resend V2: include Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
tags.
Original v2 thread:
https://lore.kernel.org/imx/c5y6mocsd77wj5lah6n47vtteqc5ekcrbdod6z5vtcnxhleudw@kfhpyoiylqqp/
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(-)
diff --git a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
index 350fb8f400f02..5952e6448ed47 100644
--- a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml
@@ -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
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH RESEND V2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1
2025-04-07 15:04 [PATCH RESEND V2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1 Frank Li
@ 2025-04-07 23:48 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-04-07 23:48 UTC (permalink / raw)
To: Frank Li
Cc: jernej.skrabec, krzk, agx, linux-kernel, robert.chiras, simona,
maarten.lankhorst, tzimmermann, devicetree, mripard,
andrzej.hajda, jonas, Laurent.pinchart, neil.armstrong, rfoss,
conor+dt, krzk+dt, dri-devel, imx, airlied
On Mon, 07 Apr 2025 11:04:42 -0400, Frank Li wrote:
> 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>
> ---
> Missed v6.15 merge windows.
>
> This one elimiate last two lines warning under arm64: dts/freescale
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Resend V2: include Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> tags.
>
> Original v2 thread:
> https://lore.kernel.org/imx/c5y6mocsd77wj5lah6n47vtteqc5ekcrbdod6z5vtcnxhleudw@kfhpyoiylqqp/
>
> 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(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-07 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 15:04 [PATCH RESEND V2 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1 Frank Li
2025-04-07 23:48 ` Rob Herring (Arm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®