regulator: dt-bindings: qcom-labibb: Allow regulator-common properties
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 18 Jan 2023 18:18:10 +0000 (19:18 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 25 Jan 2023 12:39:12 +0000 (12:39 +0000)
Allow regulator-common properties on lab/ibb regulators, such as
regulator-always-on, etc.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230118181810.119922-1-konrad.dybcio@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/qcom-labibb-regulator.yaml

index f97b808..e987c39 100644 (file)
@@ -20,7 +20,8 @@ properties:
 
   lab:
     type: object
-    additionalProperties: false
+    $ref: regulator.yaml#
+    unevaluatedProperties: false
 
     properties:
       qcom,soft-start-us:
@@ -46,7 +47,8 @@ properties:
 
   ibb:
     type: object
-    additionalProperties: false
+    $ref: regulator.yaml#
+    unevaluatedProperties: false
 
     properties:
       qcom,discharge-resistor-kohms: