Qualcomm PM8xxx PMIC Vibrator

Schema identifier ($id): "http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,pm8058-vib", "qcom,pm8916-vib", "qcom,pm8921-vib", "qcom,pmi632-vib"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,pm6150-vib", "qcom,pm7250b-vib", "qcom,pm7325b-vib", "qcom,pm7550ba-vib"

Item 2

Exact value (const): "qcom,pmi632-vib"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

    vibrator@4a {
        compatible = "qcom,pm8058-vib";
        reg = <0x4a>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page