xref: /freebsd/sys/contrib/device-tree/Bindings/input/qcom,pm8xxx-vib.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/qcom,pm8xxx-vib.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm PM8xxx PMIC Vibrator
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11
12properties:
13  compatible:
14    enum:
15      - qcom,pm8058-vib
16      - qcom,pm8916-vib
17      - qcom,pm8921-vib
18
19  reg:
20    maxItems: 1
21
22required:
23  - compatible
24  - reg
25
26additionalProperties: false
27
28examples:
29  - |
30    pmic {
31        #address-cells = <1>;
32        #size-cells = <0>;
33
34        vibrator@4a {
35            compatible = "qcom,pm8058-vib";
36            reg = <0x4a>;
37        };
38    };
39