59 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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 driver8 9maintainers:10 - Wesley Cheng <quic_wcheng@quicinc.com>11 12description: |13 This regulator driver controls the VBUS output by the Qualcomm PMIC. This14 regulator will be enabled in situations where the device is required to15 provide power to the connected peripheral.16 17allOf:18 - $ref: regulator.yaml#19 20properties:21 compatible:22 oneOf:23 - enum:24 - qcom,pm8150b-vbus-reg25 - items:26 - enum:27 - qcom,pm4125-vbus-reg28 - qcom,pm6150-vbus-reg29 - qcom,pm7250b-vbus-reg30 - qcom,pmi632-vbus-reg31 - const: qcom,pm8150b-vbus-reg32 33 reg:34 maxItems: 135 description: VBUS output base address36 37required:38 - compatible39 - reg40 - regulator-min-microamp41 - regulator-max-microamp42 43unevaluatedProperties: false44 45examples:46 - |47 pmic {48 #address-cells = <1>;49 #size-cells = <0>;50 51 usb-vbus-regulator@1100 {52 compatible = "qcom,pm8150b-vbus-reg";53 reg = <0x1100>;54 regulator-min-microamp = <500000>;55 regulator-max-microamp = <3000000>;56 };57 };58...59