dt-bindings: mediatek,mt6779-keypad: use unevaluatedProperties
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 26 Jul 2022 12:56:07 +0000 (14:56 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Aug 2022 22:44:05 +0000 (15:44 -0700)
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".

All 3 properties from matrix-keymap.yaml are valid for the MediaTek keypad:
* keypad,num-rows and keypad,num-cols configure the KP_SEL register
* linux,keymap represents the (at most) 8x8 hardware matrix

Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220720-mt8183-keypad-v2-2-6d42c357cb76@baylibre.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml

index 03ebd2665d0781e69ab388fc11e08bd63803f07f..ca8ae40a73f7d91d1de745d65f02dcd714516984 100644 (file)
@@ -56,7 +56,7 @@ required:
   - clocks
   - clock-names
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |