dt-bindings: regulator: qcom,usb-vbus-regulator: Add PM6150 compatible
authorDanila Tikhonov <danila@jiaxyga.com>
Sat, 17 Feb 2024 16:31:59 +0000 (19:31 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Feb 2024 13:44:48 +0000 (13:44 +0000)
The VBUS register block on the PM6150 PMIC shares the design with the
PM8150B one. Define corresponding compatible string, having the
qcom,pm8150b-vbus-reg as a fallback.

Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240217163201.32989-2-danila@jiaxyga.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml

index 534f87e98716301478c108b5971810b449620d77..bf6336850be6103cf2606579b35e0e73aa7a1267 100644 (file)
@@ -19,8 +19,13 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - qcom,pm8150b-vbus-reg
+    oneOf:
+      - enum:
+          - qcom,pm8150b-vbus-reg
+      - items:
+          - enum:
+              - qcom,pm6150-vbus-reg
+          - const: qcom,pm8150b-vbus-reg
 
   reg:
     maxItems: 1