Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Qualcomm PM8xxx PMIC Vibrator |
| 8 | |
| 9 | maintainers: |
| 10 | - Bjorn Andersson <andersson@kernel.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 14 | 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 Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 26 | |
| 27 | reg: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 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 | }; |