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 <[email protected]> > --- > 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] > --- > .../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 >
