Thread (3 messages) 3 messages, 2 authors, 2020-11-18

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

From: Chunfeng Yun <chunfeng.yun@mediatek.com>
Date: 2020-11-18 01:39:21
Also in: linux-arm-msm, linux-devicetree, linux-mediatek, linux-renesas-soc, linux-rockchip, linux-samsung-soc, linux-tegra, lkml

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 [off-list ref] wrote:
quoted
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@mediatek.com>
Thanks for your patch!
quoted
--- 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help