dt-bindings: soc: qcom,rpmh-rsc: Update to allow for generic nodes
authorMelody Olvera <quic_molvera@quicinc.com>
Thu, 12 Jan 2023 20:36:53 +0000 (12:36 -0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 6 Feb 2023 20:10:17 +0000 (12:10 -0800)
Update the bindings to allow for generic regulator nodes instead of
device-specific node names.

Signed-off-by: Melody Olvera <quic_molvera@quicinc.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230112203653.23139-1-quic_molvera@quicinc.com
Documentation/devicetree/bindings/soc/qcom/qcom,rpmh-rsc.yaml

index b246500..a4046ba 100644 (file)
@@ -112,8 +112,9 @@ properties:
     $ref: /schemas/power/qcom,rpmpd.yaml#
 
 patternProperties:
-  '-regulators$':
+  '^regulators(-[0-9])?$':
     $ref: /schemas/regulator/qcom,rpmh-regulator.yaml#
+    unevaluatedProperties: false
 
 required:
   - compatible