18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: The Qualcomm PMIC VBUS output regulator driver
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Wesley Cheng <wcheng@codeaurora.org>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_cidescription: |
138c2ecf20Sopenharmony_ci  This regulator driver controls the VBUS output by the Qualcomm PMIC.  This
148c2ecf20Sopenharmony_ci  regulator will be enabled in situations where the device is required to
158c2ecf20Sopenharmony_ci  provide power to the connected peripheral.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciproperties:
188c2ecf20Sopenharmony_ci  compatible:
198c2ecf20Sopenharmony_ci    enum:
208c2ecf20Sopenharmony_ci      - qcom,pm8150b-vbus-reg
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  reg:
238c2ecf20Sopenharmony_ci    maxItems: 1
248c2ecf20Sopenharmony_ci    description: VBUS output base address
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_cirequired:
278c2ecf20Sopenharmony_ci  - compatible
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciadditionalProperties: false
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciexamples:
328c2ecf20Sopenharmony_ci  - |
338c2ecf20Sopenharmony_ci     pm8150b {
348c2ecf20Sopenharmony_ci        #address-cells = <1>;
358c2ecf20Sopenharmony_ci        #size-cells = <0>;
368c2ecf20Sopenharmony_ci        pm8150b_vbus: dcdc@1100 {
378c2ecf20Sopenharmony_ci            compatible = "qcom,pm8150b-vbus-reg";
388c2ecf20Sopenharmony_ci            reg = <0x1100>;
398c2ecf20Sopenharmony_ci        };
408c2ecf20Sopenharmony_ci     };
418c2ecf20Sopenharmony_ci...
42