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

From: Geert Uytterhoeven
Date: Tue Nov 17 2020 - 05:37:57 EST


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?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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