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: |
| 14 | enum: |
| 15 | - qcom,pm8058-vib |
| 16 | - qcom,pm8916-vib |
| 17 | - qcom,pm8921-vib |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | required: |
| 23 | - compatible |
| 24 | - reg |
| 25 | |
| 26 | additionalProperties: false |
| 27 | |
| 28 | examples: |
| 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 | }; |