xref: /linux/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml (revision e7d759f31ca295d589f7420719c311870bb3166f)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: The Qualcomm PMIC VBUS output regulator driver
8
9maintainers:
10  - Wesley Cheng <quic_wcheng@quicinc.com>
11
12description: |
13  This regulator driver controls the VBUS output by the Qualcomm PMIC.  This
14  regulator will be enabled in situations where the device is required to
15  provide power to the connected peripheral.
16
17allOf:
18  - $ref: regulator.yaml#
19
20properties:
21  compatible:
22    enum:
23      - qcom,pm8150b-vbus-reg
24
25  reg:
26    maxItems: 1
27    description: VBUS output base address
28
29required:
30  - compatible
31  - reg
32  - regulator-min-microamp
33  - regulator-max-microamp
34
35unevaluatedProperties: false
36
37examples:
38  - |
39     pmic {
40        #address-cells = <1>;
41        #size-cells = <0>;
42
43        usb-vbus-regulator@1100 {
44            compatible = "qcom,pm8150b-vbus-reg";
45            reg = <0x1100>;
46            regulator-min-microamp = <500000>;
47            regulator-max-microamp = <3000000>;
48        };
49     };
50...
51