Thread (23 messages) 23 messages, 4 authors, 2022-07-26
STALE1458d

[PATCH v1 2/6] dt-bindings: mediatek,mt6779-keypad: use unevaluatedProperties

From: Mattijs Korpershoek <hidden>
Date: 2022-07-20 14:48:54
Also in: linux-arm-kernel, linux-devicetree, linux-mediatek, lkml
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, mediatek keypad driver, open firmware and flattened device tree bindings, the rest · Maintainers: Dmitry Torokhov, Mattijs Korpershoek, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

writing-bindings.rst states:
- If schema includes other schema (e.g. /schemas/i2c/i2c-controller.yaml) use
  "unevaluatedProperties:false". In other cases, usually use
  "additionalProperties:false".
mt6779-keypad includes matrix-keymap.yaml so replace additionalProperties:false
by unevaluatedProperties:false.

Signed-off-by: Mattijs Korpershoek <redacted>
diff --git a/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml b/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
index 03ebd2665d07..ca8ae40a73f7 100644
--- a/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
+++ b/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
@@ -56,7 +56,7 @@ required:
   - clocks
   - clock-names
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
b4 0.10.0-dev-54fef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help