Skip to contentSkip to conversation

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

PATCH In review Rob Herring 2 participants 2 messages Sep 26, 2023 – Oct 2, 2023

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

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

Make it explicit that the not yet documented child nodes have additional properties and the child node schema is not complete.

---
 Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/input/syna,rmi4.yaml +2 -0
index 4d4e1a8e36be..b522c8d3ce0d 100644
@@ -164,6 +164,8 @@ patternProperties:
 
   "^rmi4-f[0-9a-f]+@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     description:
       Other functions, not documented yet.
 
Signature · 1 line
2.40.1
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Rob Herring

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..

Thanks,
Conor.

Quoted 22 lines
---
 Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/input/syna,rmi4.yaml +2 -0
index 4d4e1a8e36be..b522c8d3ce0d 100644
@@ -164,6 +164,8 @@ patternProperties:
 
   "^rmi4-f[0-9a-f]+@[0-9a-f]+$":
     type: object
+    additionalProperties: true
+
     description:
       Other functions, not documented yet.
 
Signature · 1 line
2.40.1