@@ -28,12 +28,11 @@ properties:
const: ldb
reg:
+ minItems: 1
maxItems: 2
reg-names:
- items:
- - const: ldb
- - const: lvds
+ maxItems: 2
ports:
$ref: /schemas/graph.yaml#/properties/ports
@@ -57,6 +56,7 @@ properties:
required:
- compatible
+ - reg
- clocks
- ports
@@ -74,6 +74,24 @@ allOf:
properties:
port@2: false
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: fsl,imx6sx-ldb
+ then:
+ properties:
+ reg:
+ maxItems: 1
+ else:
+ properties:
+ reg:
+ minItems: 2
+ reg-names:
+ items:
+ - const: ldb
+ - const: lvds
+
additionalProperties: false
examples: