[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221222131707.avpdf7ioo3x36nix@SoMainline.org>
Date: Thu, 22 Dec 2022 14:17:07 +0100
From: Marijn Suijten <marijn.suijten@...ainline.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: phone-devel@...r.kernel.org, Will Deacon <will@...nel.org>,
Joerg Roedel <joro@...tes.org>,
Bjorn Andersson <andersson@...nel.org>,
~postmarketos/upstreaming@...ts.sr.ht,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Martin Botka <martin.botka@...ainline.org>,
Jami Kettunen <jami.kettunen@...ainline.org>,
Lux Aliaga <they@...t.lgbt>,
Robin Murphy <robin.murphy@....com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andy Gross <agross@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Thierry Reding <treding@...dia.com>,
Melody Olvera <quic_molvera@...cinc.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Bhupesh Sharma <bhupesh.sharma@...aro.org>,
Douglas Anderson <dianders@...omium.org>,
linux-arm-kernel@...ts.infradead.org, iommu@...ts.linux.dev,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH v4 1/4] dt-bindings: arm-smmu: Document smmu-500 binding
for SM6125
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
Powered by blists - more mailing lists