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
17properties:
18  compatible:
19    enum:
20      - qcom,pm8150b-vbus-reg
21
22  reg:
23    maxItems: 1
24    description: VBUS output base address
25
26required:
27  - compatible
28  - reg
29
30additionalProperties: false
31
32examples:
33  - |
34     pm8150b {
35        #address-cells = <1>;
36        #size-cells = <0>;
37        pm8150b_vbus: usb-vbus-regulator@1100 {
38            compatible = "qcom,pm8150b-vbus-reg";
39            reg = <0x1100>;
40        };
41     };
42...
43