xref: /linux/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml (revision 0c5f77f4eaef8ed9fe752d21f40ac471dd511cfc)
1a824bab7SWesley Cheng# SPDX-License-Identifier: GPL-2.0
2a824bab7SWesley Cheng%YAML 1.2
3a824bab7SWesley Cheng---
4a824bab7SWesley Cheng$id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
5a824bab7SWesley Cheng$schema: http://devicetree.org/meta-schemas/core.yaml#
6a824bab7SWesley Cheng
7a824bab7SWesley Chengtitle: The Qualcomm PMIC VBUS output regulator driver
8a824bab7SWesley Cheng
9a824bab7SWesley Chengmaintainers:
10e059da38SWesley Cheng  - Wesley Cheng <quic_wcheng@quicinc.com>
11a824bab7SWesley Cheng
12a824bab7SWesley Chengdescription: |
13a824bab7SWesley Cheng  This regulator driver controls the VBUS output by the Qualcomm PMIC.  This
14a824bab7SWesley Cheng  regulator will be enabled in situations where the device is required to
15a824bab7SWesley Cheng  provide power to the connected peripheral.
16a824bab7SWesley Cheng
17581d79f7SBryan O'DonoghueallOf:
18581d79f7SBryan O'Donoghue  - $ref: regulator.yaml#
19581d79f7SBryan O'Donoghue
20a824bab7SWesley Chengproperties:
21a824bab7SWesley Cheng  compatible:
22ec29a4d9SDanila Tikhonov    oneOf:
23ec29a4d9SDanila Tikhonov      - enum:
24a824bab7SWesley Cheng          - qcom,pm8150b-vbus-reg
25ec29a4d9SDanila Tikhonov      - items:
26ec29a4d9SDanila Tikhonov          - enum:
27b9262cc1SDmitry Baryshkov              - qcom,pm4125-vbus-reg
28ec29a4d9SDanila Tikhonov              - qcom,pm6150-vbus-reg
29*0c5f77f4SLuca Weiss              - qcom,pm7250b-vbus-reg
30ef6035d2SDmitry Baryshkov              - qcom,pmi632-vbus-reg
31ec29a4d9SDanila Tikhonov          - const: qcom,pm8150b-vbus-reg
32a824bab7SWesley Cheng
33a824bab7SWesley Cheng  reg:
34a824bab7SWesley Cheng    maxItems: 1
35a824bab7SWesley Cheng    description: VBUS output base address
36a824bab7SWesley Cheng
37a824bab7SWesley Chengrequired:
38a824bab7SWesley Cheng  - compatible
394c186faaSBryan O'Donoghue  - reg
40581d79f7SBryan O'Donoghue  - regulator-min-microamp
41581d79f7SBryan O'Donoghue  - regulator-max-microamp
42a824bab7SWesley Cheng
43581d79f7SBryan O'DonoghueunevaluatedProperties: false
44a824bab7SWesley Cheng
45a824bab7SWesley Chengexamples:
46a824bab7SWesley Cheng  - |
47d939c023SJohan Hovold     pmic {
48a824bab7SWesley Cheng        #address-cells = <1>;
49a824bab7SWesley Cheng        #size-cells = <0>;
50d939c023SJohan Hovold
51d939c023SJohan Hovold        usb-vbus-regulator@1100 {
52a824bab7SWesley Cheng            compatible = "qcom,pm8150b-vbus-reg";
53a824bab7SWesley Cheng            reg = <0x1100>;
54581d79f7SBryan O'Donoghue            regulator-min-microamp = <500000>;
55581d79f7SBryan O'Donoghue            regulator-max-microamp = <3000000>;
56a824bab7SWesley Cheng        };
57a824bab7SWesley Cheng     };
58a824bab7SWesley Cheng...
59