Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
Extension
.yaml
Size
1347 bytes
Lines
59
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: The Qualcomm PMIC VBUS output regulator driver

maintainers:
  - Wesley Cheng <quic_wcheng@quicinc.com>

description: |
  This regulator driver controls the VBUS output by the Qualcomm PMIC.  This
  regulator will be enabled in situations where the device is required to
  provide power to the connected peripheral.

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    oneOf:
      - enum:
          - qcom,pm8150b-vbus-reg
      - items:
          - enum:
              - qcom,pm4125-vbus-reg
              - qcom,pm6150-vbus-reg
              - qcom,pm7250b-vbus-reg
              - qcom,pmi632-vbus-reg
          - const: qcom,pm8150b-vbus-reg

  reg:
    maxItems: 1
    description: VBUS output base address

required:
  - compatible
  - reg
  - regulator-min-microamp
  - regulator-max-microamp

unevaluatedProperties: false

examples:
  - |
     pmic {
        #address-cells = <1>;
        #size-cells = <0>;

        usb-vbus-regulator@1100 {
            compatible = "qcom,pm8150b-vbus-reg";
            reg = <0x1100>;
            regulator-min-microamp = <500000>;
            regulator-max-microamp = <3000000>;
        };
     };
...

Annotation

Implementation Notes