Re: [PATCH v4 1/4] dt-bindings: arm-smmu: Document smmu-500 binding for SM6125

From: Marijn Suijten
Date: Thu Dec 22 2022 - 08:17:34 EST


On 2022-12-22 11:36:49, Krzysztof Kozlowski wrote:
> [..]
> > There is:
> >
> > clock-names:
> > minItems: 1
> > maxItems: 7
> >
> > clocks:
> > minItems: 1
> > maxItems: 7
> >
> > But I did not provide _any_ (see patch 2 of this series). Shouldn't
> > that trigger a warning?
>
> No. Are these required properties?

Ah right, this has no effect if the property is not required. Only if
the property is set should it adhere to minItems; that is, `clocks;` or
`clock-names;` as boolean property isn't allowed, it has to have `clocks
= <between 1 and 7 items>`.

- Marijn