Hi Geert, Thanks for the feedback. > Subject: Re: [PATCH v2 1/2] dt-bindings: iio: adc: Document Renesas RZ/G2UL > ADC > > Hi Biju, > > On Tue, May 10, 2022 at 8:31 PM Biju Das <biju.das.jz@xxxxxxxxxxxxxx> > wrote: > > > Subject: Re: [PATCH v2 1/2] dt-bindings: iio: adc: Document Renesas > > > RZ/G2UL ADC > > > patternProperties: > > > '^channel@[2-7]$': false > > > > This fixes the validation for channels. But how do we restrict reg index > between 0-1 ? > > The below example is passing instead of failing. > > channel@0 { > > reg = <5>; > > }; > > I expect that to be flagged by the generic unit-address vs. reg check? You mean this should be take care by dt-schema automatically, right? Currently it is not the case. It needs additional check for taking care [1] [1] https://lore.kernel.org/linux-renesas-soc/CAMuHMdWNP_H9FNcygXZp0Ysw=wGXzV71Q_U7Hs=wH_Vctnz1pg@xxxxxxxxxxxxxx/T/#u Cheers, Biju