From 33623ba80388b5340ddc9f4a9871559228ed505d Mon Sep 17 00:00:00 2001 From: David Collins Date: Thu, 3 Aug 2023 15:01:30 -0700 Subject: [PATCH] dt-bindings: regulator: stub-regulator: fix dt_binding_check warning make dt_binding_check outputs the following warning for the file qcom,stub-regulator.yaml: Documentation/devicetree/bindings/regulator/ qcom,stub-regulator.example.dtb: regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt', 'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+' This occurs because both of these are specified: * allOf: - $ref: "regulator.yaml#" * additionalProperties: false Fix this warning by switching the latter to: unevaluatedProperties: false Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6 Signed-off-by: David Collins --- bindings/regulator/qcom,stub-regulator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/regulator/qcom,stub-regulator.yaml b/bindings/regulator/qcom,stub-regulator.yaml index 431135ca..3e94cf0c 100644 --- a/bindings/regulator/qcom,stub-regulator.yaml +++ b/bindings/regulator/qcom,stub-regulator.yaml @@ -40,7 +40,7 @@ required: - compatible - regulator-name -additionalProperties: false +unevaluatedProperties: false examples: - |