On Thu, Apr 07, 2022 at 04:44:07PM +0900, Kunihiko Hayashi wrote: > This refers common bindings, so this is preferred for > unevaluatedProperties instead of additionalProperties. Yes and no. If you want to define specific common properties are used (and not used), then listing them in the specific schema with 'additionalProperties' is the right way to do that. If all properties in the referenced schema are valid, then unevaluatedProperties is correct. If we wanted using unevaluatedProperties to be a hard rule, we could make the meta-schema enforce that. > > Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@xxxxxxxxxxxxx> > --- > .../devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml | 2 +- > .../devicetree/bindings/dma/socionext,uniphier-xdmac.yaml | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml b/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml > index e7bf6dd7da29..b40f247e07be 100644 > --- a/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml > +++ b/Documentation/devicetree/bindings/dma/socionext,uniphier-mio-dmac.yaml > @@ -45,7 +45,7 @@ required: > - clocks > - '#dma-cells' > > -additionalProperties: false > +unevaluatedProperties: false > > examples: > - | > diff --git a/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml b/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml > index 371f18773198..b2bd21cbeb7f 100644 > --- a/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml > +++ b/Documentation/devicetree/bindings/dma/socionext,uniphier-xdmac.yaml > @@ -40,7 +40,7 @@ properties: > minimum: 1 > maximum: 16 > > -additionalProperties: false > +unevaluatedProperties: false > > required: > - compatible > -- > 2.25.1 > >