usb: usb-acpi: Fix oops due to freeing uninitialized pld pointer
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / qcom,usb-vbus-regulator.yaml
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
7 title: The Qualcomm PMIC VBUS output regulator driver
8
9 maintainers:
10   - Wesley Cheng <quic_wcheng@quicinc.com>
11
12 description: |
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
17 allOf:
18   - $ref: regulator.yaml#
19
20 properties:
21   compatible:
22     oneOf:
23       - enum:
24           - qcom,pm8150b-vbus-reg
25       - items:
26           - enum:
27               - qcom,pmi632-vbus-reg
28           - const: qcom,pm8150b-vbus-reg
29
30   reg:
31     maxItems: 1
32     description: VBUS output base address
33
34 required:
35   - compatible
36   - reg
37   - regulator-min-microamp
38   - regulator-max-microamp
39
40 unevaluatedProperties: false
41
42 examples:
43   - |
44      pmic {
45         #address-cells = <1>;
46         #size-cells = <0>;
47
48         usb-vbus-regulator@1100 {
49             compatible = "qcom,pm8150b-vbus-reg";
50             reg = <0x1100>;
51             regulator-min-microamp = <500000>;
52             regulator-max-microamp = <3000000>;
53         };
54      };
55 ...