The Qualcomm PMIC VBUS output regulator driver
Schema identifier ($id): "http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wesley Cheng <quic_wcheng@quicinc.com>"
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.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,pm4125-vbus-reg","qcom,pm6150-vbus-reg","qcom,pm7250b-vbus-reg","qcom,pmi632-vbus-reg"Item 2
Exact value (
const):"qcom,pm8150b-vbus-reg"
reg — required here #
Maximum number of items (maxItems): 1
VBUS output base address
Required in this object (required): "compatible", "reg", "regulator-min-microamp", "regulator-max-microamp"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (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>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0