dt-bindings: soc: qcom: smd-rpm: add PMIC regulators nodes
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 26 Sep 2022 09:21:01 +0000 (11:21 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:19:40 +0000 (13:19 -0500)
The Qualcomm RPM over SMD contains devices for one or two PMIC
regulators - already used in several DTS files.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220926092104.111449-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml

index 09d5bfa..deccc63 100644 (file)
@@ -61,6 +61,11 @@ properties:
     items:
       - const: rpm_requests
 
+patternProperties:
+  "^regulators(-[01])?$":
+    $ref: /schemas/regulator/qcom,smd-rpm-regulator.yaml#
+    unevaluatedProperties: false
+
 if:
   properties:
     compatible: