On 20/11/2024 09:45, Krzysztof Kozlowski wrote:
On Tue, Nov 19, 2024 at 10:10:51AM +0200, Ciprian Costea wrote:And list items here instead...
reg:
maxItems: 1
@@ -136,6 +138,23 @@ required:
- reg
- interrupts
+allOf:
+ - $ref: can-controller.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: nxp,s32g2-flexcan
+ then:
+ properties:
+ interrupts:
+ minItems: 4
+ maxItems: 4
Top level says max is 1. You need to keep there widest constraints.
Best regards,
Krzysztof