[PATCH] dt-bindings: arm: add additionalProperties

Chunfeng Yun chunfeng.yun at mediatek.com
Tue Nov 17 20:38:50 EST 2020


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 at mediatek.com> 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 at mediatek.com>
> 
> 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
> 



More information about the Linux-rockchip mailing list