]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: display: bridge: ldb: Add check for reg and reg-names
authorMarek Vasut <marek.vasut@mailbox.org>
Tue, 6 Jan 2026 01:22:20 +0000 (02:22 +0100)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 4 Feb 2026 02:58:11 +0000 (20:58 -0600)
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@mailbox.org>
Link: https://patch.msgid.link/20260106012236.295834-1-marek.vasut@mailbox.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml

index 07388bf2b90df60d7059959bd8cfdf6a311bb49f..49664101a3537365c35a1ad76d540cc98cc480f7 100644 (file)
@@ -59,6 +59,7 @@ required:
   - compatible
   - clocks
   - ports
+  - reg
 
 allOf:
   - if:
@@ -73,6 +74,15 @@ allOf:
         ports:
           properties:
             port@2: false
+  - if:
+      not:
+        properties:
+          compatible:
+            contains:
+              const: fsl,imx6sx-ldb
+    then:
+      required:
+        - reg-names
 
 additionalProperties: false