On Mon, Mar 17, 2025 at 09:30:37AM +0000, Nuno Sá wrote: > Now, I have: > > - if: > properties: > compatible: > contains: > const: adi,adp5585-01 > then: > properties: > gpio-reserved-ranges: false > else: > if: > properties: > compatible: > contains: > enum: > - adi,adp5585-00 > - adi,adp5585-02 > - adi,adp5585-03 > - adi,adp5585-04 > then: > properties: > gpio-reserved-ranges: > maxItems: 1 > items: > items: > - const: 5 > - const: 1 Yes, you are right. The diff context confused me, so I thought these are different. It's fine. Best regards, Krzysztof