[PATCH 3/9] dt-bindings: display: renesas,rzg2l-du: Document RZ/G2UL DU bindings
Conor Dooley
conor at kernel.org
Tue Jul 2 14:50:51 UTC 2024
On Tue, Jul 02, 2024 at 10:46:13AM +0100, Biju Das wrote:
> Document DU found in RZ/G2UL SoC. The DU block is identical to RZ/G2L
> SoC, but has only DPI interface.
>
> While at it, add missing required property port at 1 for RZ/G2L and RZ/V2L
> SoCs.
A new required property is an ABI break, it deserves more of an
explanation than "in passing..."
>
> Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
> ---
> .../bindings/display/renesas,rzg2l-du.yaml | 32 +++++++++++++++++--
> 1 file changed, 29 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> index 08e5b9478051..c0fec282fa45 100644
> --- a/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> +++ b/Documentation/devicetree/bindings/display/renesas,rzg2l-du.yaml
> @@ -18,6 +18,7 @@ properties:
> compatible:
> oneOf:
> - enum:
> + - renesas,r9a07g043u-du # RZ/G2UL
> - renesas,r9a07g044-du # RZ/G2{L,LC}
> - items:
> - enum:
> @@ -60,9 +61,6 @@ properties:
> $ref: /schemas/graph.yaml#/properties/port
> unevaluatedProperties: false
>
> - required:
> - - port at 0
> -
> unevaluatedProperties: false
>
> renesas,vsps:
> @@ -88,6 +86,34 @@ required:
>
> additionalProperties: false
>
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: renesas,r9a07g043u-du
> + then:
> + properties:
> + ports:
> + properties:
> + port at 0: false
> + port at 1:
> + description: DPI
> +
> + required:
> + - port at 1
> + else:
> + properties:
> + ports:
> + properties:
> + port at 0:
> + description: DSI
> + port at 1:
> + description: DPI
> +
> + required:
> + - port at 0
> + - port at 1
> examples:
> # RZ/G2L DU
> - |
> --
> 2.43.0
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240702/a57ff536/attachment.sig>
More information about the dri-devel
mailing list