qcom,pm8xxx-vib.yaml 927 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. title: Qualcomm PM8xxx PMIC Vibrator
  7. maintainers:
  8. - Bjorn Andersson <andersson@kernel.org>
  9. properties:
  10. compatible:
  11. oneOf:
  12. - enum:
  13. - qcom,pm8058-vib
  14. - qcom,pm8916-vib
  15. - qcom,pm8921-vib
  16. - qcom,pmi632-vib
  17. - items:
  18. - enum:
  19. - qcom,pm6150-vib
  20. - qcom,pm7250b-vib
  21. - qcom,pm7325b-vib
  22. - qcom,pm7550ba-vib
  23. - const: qcom,pmi632-vib
  24. reg:
  25. maxItems: 1
  26. required:
  27. - compatible
  28. - reg
  29. additionalProperties: false
  30. examples:
  31. - |
  32. pmic {
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. vibrator@4a {
  36. compatible = "qcom,pm8058-vib";
  37. reg = <0x4a>;
  38. };
  39. };