[PATCH] dt-bindings: arm: add additionalProperties

Geert Uytterhoeven geert at linux-m68k.org
Tue Nov 17 05:37:23 EST 2020


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?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



More information about the Linux-rockchip mailing list