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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux