summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@mailbox.org>2026-01-06 02:22:20 +0100
committerRob Herring (Arm) <robh@kernel.org>2026-02-03 20:58:11 -0600
commit8aa2f0ac08d3b207ba54e98698c9d696b86452a7 (patch)
treedb250c09e64a02c3610a7955a2fd47fd48f1d271 /Documentation/devicetree
parentd93380833165df8f3f74500bffa65eb76028a88a (diff)
dt-bindings: display: bridge: ldb: Add check for reg and reg-names
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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
index 07388bf2b90d..49664101a353 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,15 @@ allOf:
ports:
properties:
port@2: false
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: fsl,imx6sx-ldb
+ then:
+ required:
+ - reg-names
additionalProperties: false