[PATCH] dt-bindings: input: syna,rmi4: Make "additionalProperties: true" explicit

Rob Herring posted 1 patch 2 years, 4 months ago
Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: input: syna,rmi4: Make "additionalProperties: true" explicit
Posted by Rob Herring 2 years, 4 months ago
Make it explicit that the not yet documented child nodes have additional
properties and the child node schema is not complete.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/syna,rmi4.yaml b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
index 4d4e1a8e36be..b522c8d3ce0d 100644
--- a/Documentation/devicetree/bindings/input/syna,rmi4.yaml
+++ b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
@@ -164,6 +164,8 @@ patternProperties:
 
   "^rmi4-f[0-9a-f]+@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     description:
       Other functions, not documented yet.
 
-- 
2.40.1
Re: [PATCH] dt-bindings: input: syna,rmi4: Make "additionalProperties: true" explicit
Posted by Conor Dooley 2 years, 4 months ago
On Tue, Sep 26, 2023 at 09:42:44AM -0500, Rob Herring wrote:
> Make it explicit that the not yet documented child nodes have additional
> properties and the child node schema is not complete.

Guess I missed this patch while reviewing the other additional property
stuff. Seems like an odd binding with the "Other functions, not
documented yet", but seems to be a relic of the original text bindings?
Patch seems reasonable in that context..
Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> 
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/input/syna,rmi4.yaml b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> index 4d4e1a8e36be..b522c8d3ce0d 100644
> --- a/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> +++ b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
> @@ -164,6 +164,8 @@ patternProperties:
>  
>    "^rmi4-f[0-9a-f]+@[0-9a-f]+$":
>      type: object
> +    additionalProperties: true
> +
>      description:
>        Other functions, not documented yet.
>  
> -- 
> 2.40.1
>