blob: 2025d6a5423e285d868f1ccd752b404f33f35342 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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:
Tom Rini762f85b2024-07-20 11:15:10 -060014 oneOf:
15 - enum:
16 - qcom,pm8058-vib
17 - qcom,pm8916-vib
18 - qcom,pm8921-vib
19 - qcom,pmi632-vib
20 - items:
21 - enum:
22 - qcom,pm7250b-vib
23 - qcom,pm7325b-vib
24 - qcom,pm7550ba-vib
25 - const: qcom,pmi632-vib
Tom Rini53633a82024-02-29 12:33:36 -050026
27 reg:
28 maxItems: 1
29
30required:
31 - compatible
32 - reg
33
34additionalProperties: false
35
36examples:
37 - |
38 pmic {
39 #address-cells = <1>;
40 #size-cells = <0>;
41
42 vibrator@4a {
43 compatible = "qcom,pm8058-vib";
44 reg = <0x4a>;
45 };
46 };