blob: 534f87e98716301478c108b5971810b449620d77 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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 - |
Tom Rini93743d22024-04-01 09:08:13 -040039 pmic {
Tom Rini53633a82024-02-29 12:33:36 -050040 #address-cells = <1>;
41 #size-cells = <0>;
Tom Rini93743d22024-04-01 09:08:13 -040042
43 usb-vbus-regulator@1100 {
Tom Rini53633a82024-02-29 12:33:36 -050044 compatible = "qcom,pm8150b-vbus-reg";
45 reg = <0x1100>;
46 regulator-min-microamp = <500000>;
47 regulator-max-microamp = <3000000>;
48 };
49 };
50...