aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 2024-01-30 21:32:54 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2024-02-17 18:36:43 +0100
commitef6035d2f1f4f31453c76763c2cc50e9526bbffa (patch)
tree4b15114a8ef3d2fcb40526e740c66e98e92ff0af
parentusb: typec: ucsi: Get PD revision for partner (diff)
downloadlinux-ef6035d2f1f4f31453c76763c2cc50e9526bbffa.tar.gz
linux-ef6035d2f1f4f31453c76763c2cc50e9526bbffa.tar.bz2
linux-ef6035d2f1f4f31453c76763c2cc50e9526bbffa.zip
dt-bindings: regulator: qcom,usb-vbus-regulator: add support for PMI632
The VBUS register block on the PMI632 PMIC shares the design with the PM8150B one. Define corresponding compatible string, having the qcom,pm8150b-vbus-reg as a fallback. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Luca Weiss <luca.weiss@fairphone.com> # sdm632-fairphone-fp3 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240130-pmi632-typec-v3-1-b05fe44f0a51@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
index 534f87e98716..66dcd5ce03e6 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
@@ -19,8 +19,13 @@ allOf:
properties:
compatible:
- enum:
- - qcom,pm8150b-vbus-reg
+ oneOf:
+ - enum:
+ - qcom,pm8150b-vbus-reg
+ - items:
+ - enum:
+ - qcom,pmi632-vbus-reg
+ - const: qcom,pm8150b-vbus-reg
reg:
maxItems: 1