Re: [PATCH v3 1/1] regulator: dt-bindings: mediatek: add mt6366

From: Krzysztof Kozlowski
Date: Fri Aug 12 2022 - 08:55:22 EST


On Fri, 12 Aug 2022 at 15:52, zhiyong.tao <zhiyong.tao@xxxxxxxxxxxx> wrote:
>
> On Fri, 2022-08-12 at 13:55 +0300, Krzysztof Kozlowski wrote:
> > On 12/08/2022 12:29, Zhiyong Tao wrote:
> > > Add mt6366 regulator document
> > >
> > > +
> > > +properties:
> > > + compatible:
> > > + const: mediatek,mt6366-regulator
> > > +
> > > + regulators:
> > > + type: object
> > > + description: List of regulators and its properties
> > > +
> > > + patternProperties:
> > > + "^buck-
> > > v(dram1|core|coresshub|proc11|proc12|gpu|s2|modem|s1)$":
> > > + type: object
> > > + $ref: regulator.yaml#
> > > + unevaluatedProperties: false
> > > +
> > > + "^ldo-v(dram2|sim1|ibr|rf12|usb|camio|camd|cn18|fe28)$":
> > > + type: object
> > > + $ref: regulator.yaml#
> >
> > You miss unevaluatedProperties in most of the places.
>
> Hi Krzysztof,
> Thanks for your suggestion,
> Do you mean that all places should have the unevaluatedProperties
> Properties ?

Yes. You put it in some of the places which does not really make sense...

Best regards,
Krzysztof