xref: /openbmc/linux/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml (revision 0545810f7edaf0c2869eccdd97a3694b5a292e1d)
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
29additionalProperties: false
30
31examples:
32  - |
33     pm8150b {
34        #address-cells = <1>;
35        #size-cells = <0>;
36        pm8150b_vbus: usb-vbus-regulator@1100 {
37            compatible = "qcom,pm8150b-vbus-reg";
38            reg = <0x1100>;
39        };
40     };
41...
42