Re: [PATCH] dt-bindings: display: bridge: ldb: Add check for reg and reg-names
From: Rob Herring
Date: Mon Jan 05 2026 - 17:19:29 EST
On Sun, Jan 04, 2026 at 10:34:21PM +0100, Marek Vasut wrote:
> Make "reg" property mandatory for all LDB devices and "reg-names"
> mandatory for i.MX8MP and i.MX93 which have two "reg" values. The
> i.MX6SX has only one "reg" value so the "reg-names" property there
> is optional and not needed.
>
> Signed-off-by: Marek Vasut <marek.vasut@xxxxxxxxxxx>
> ---
> Cc: Andrzej Hajda <andrzej.hajda@xxxxxxxxx>
> Cc: Conor Dooley <conor+dt@xxxxxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxxx>
> Cc: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
> Cc: Jonas Karlman <jonas@xxxxxxxxx>
> Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
> Cc: Laurent Pinchart <Laurent.pinchart@xxxxxxxxxxxxxxxx>
> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Cc: Maxime Ripard <mripard@xxxxxxxxxx>
> Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> Cc: Rob Herring <robh@xxxxxxxxxx>
> Cc: Robert Foss <rfoss@xxxxxxxxxx>
> Cc: Simona Vetter <simona@xxxxxxxx>
> Cc: Thomas Zimmermann <tzimmermann@xxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: dri-devel@xxxxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---
> .../bindings/display/bridge/fsl,ldb.yaml | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
> index 07388bf2b90df..197ae2f2dd36c 100644
> --- a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
> @@ -59,6 +59,7 @@ required:
> - compatible
> - clocks
> - ports
> + - reg
>
> allOf:
> - if:
> @@ -73,6 +74,19 @@ allOf:
> ports:
> properties:
> port@2: false
> + - if:
> + not:
> + properties:
> + compatible:
> + contains:
> + const: fsl,imx6sx-ldb
> + then:
> + required:
> + - compatible
> + - clocks
> + - ports
> + - reg
All of these are already required up above. You only need reg-names
here.
> + - reg-names
>
> additionalProperties: false
>
> --
> 2.51.0
>