dt-bindings: extcon: maxim,max77843: restrict connector properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 20 Jul 2023 08:01:40 +0000 (10:01 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 23 Jul 2023 20:14:23 +0000 (05:14 +0900)
Do not allow any other properties in connector child, except what
usb-connector.yaml evaluates.

Fixes: 9729cad0278b ("dt-bindings: extcon: maxim,max77843: Add MAX77843 bindings")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/devicetree/bindings/extcon/maxim,max77843.yaml

index 1289605..55800fb 100644 (file)
@@ -23,6 +23,7 @@ properties:
 
   connector:
     $ref: /schemas/connector/usb-connector.yaml#
+    unevaluatedProperties: false
 
   ports:
     $ref: /schemas/graph.yaml#/properties/ports