diff mbox series

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

Message ID 20230926144249.4053202-1-robh@kernel.org
State Accepted
Commit a9f32acf102546b1ce0af03c072bef090f3d84e8
Headers show
Series dt-bindings: input: syna,rmi4: Make "additionalProperties: true" explicit | expand

Commit Message

Rob Herring Sept. 26, 2023, 2:42 p.m. UTC
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(+)

Comments

Conor Dooley Oct. 2, 2023, 12:33 p.m. UTC | #1
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
>
diff mbox series

Patch

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.