xref: /openbmc/linux/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml (revision 2634682fdffd9ba6e74b76be8aa91cf8b2e05c41)
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 <wcheng@codeaurora.org>
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: dcdc@1100 {
37            compatible = "qcom,pm8150b-vbus-reg";
38            reg = <0x1100>;
39        };
40     };
41...
42