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

50 lines
1.1 KiB
YAML
Raw Normal View History

2023-08-30 17:31:07 +02:00
# 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.
2023-10-24 12:59:35 +02:00
allOf:
- $ref: regulator.yaml#
2023-08-30 17:31:07 +02:00
properties:
compatible:
enum:
- qcom,pm8150b-vbus-reg
reg:
maxItems: 1
description: VBUS output base address
required:
- compatible
2023-10-24 12:59:35 +02:00
- reg
- regulator-min-microamp
- regulator-max-microamp
2023-08-30 17:31:07 +02:00
2023-10-24 12:59:35 +02:00
unevaluatedProperties: false
2023-08-30 17:31:07 +02:00
examples:
- |
pm8150b {
#address-cells = <1>;
#size-cells = <0>;
pm8150b_vbus: usb-vbus-regulator@1100 {
compatible = "qcom,pm8150b-vbus-reg";
reg = <0x1100>;
2023-10-24 12:59:35 +02:00
regulator-min-microamp = <500000>;
regulator-max-microamp = <3000000>;
2023-08-30 17:31:07 +02:00
};
};
...