Re: [PATCH] dt-bindings: arm: add additionalProperties

From: Chunfeng Yun
Date: Tue Nov 17 2020 - 20:39:20 EST


On Tue, 2020-11-17 at 11:37 +0100, Geert Uytterhoeven wrote:
> Hi Chunfeng,
>
> On Tue, Nov 17, 2020 at 11:32 AM Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx> wrote:
> > Add an explicit "additionalProperties: true" to avoid
> > dt_binding_check error caused by:
> > 'additionalProperties' is a required property
> >
> > This will not change function, due to additionalProperties
> > is true by default.
> >
> > Signed-off-by: Chunfeng Yun <chunfeng.yun@xxxxxxxxxxxx>
>
> Thanks for your patch!
>
> > --- a/Documentation/devicetree/bindings/arm/actions.yaml
> > +++ b/Documentation/devicetree/bindings/arm/actions.yaml
> > @@ -49,3 +49,5 @@ properties:
> > - enum:
> > - ucrobotics,bubblegum-96 # uCRobotics Bubblegum-96
> > - const: actions,s900
> > +
> > +additionalProperties: true
>
> Looks very similar to commit 62298364bd489b06 ("dt-bindings: Explicitly
> allow additional properties in board/SoC schemas") in v5.10-rc2?
Yes, indeed, thanks for your info.

>
> Gr{oetje,eeting}s,
>
> Geert
>