xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/qcom,usb-vbus-regulator.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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     pm8150b {
40        #address-cells = <1>;
41        #size-cells = <0>;
42        pm8150b_vbus: usb-vbus-regulator@1100 {
43            compatible = "qcom,pm8150b-vbus-reg";
44            reg = <0x1100>;
45            regulator-min-microamp = <500000>;
46            regulator-max-microamp = <3000000>;
47        };
48     };
49...
50