regulator-haptic.yaml 878 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/input/regulator-haptic.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Regulator Haptic
  7. maintainers:
  8. - Jaewon Kim <jaewon02.kim@samsung.com>
  9. properties:
  10. compatible:
  11. const: regulator-haptic
  12. haptic-supply:
  13. description: >
  14. Power supply to the haptic motor
  15. max-microvolt:
  16. description: >
  17. The maximum voltage value supplied to the haptic motor
  18. min-microvolt:
  19. description: >
  20. The minimum voltage value supplied to the haptic motor
  21. required:
  22. - compatible
  23. - haptic-supply
  24. - max-microvolt
  25. - min-microvolt
  26. additionalProperties: false
  27. examples:
  28. - |
  29. haptics {
  30. compatible = "regulator-haptic";
  31. haptic-supply = <&motor_regulator>;
  32. max-microvolt = <2700000>;
  33. min-microvolt = <1100000>;
  34. };