twl6040-vibra.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Vibra driver for the twl6040 family
  2. The vibra driver is a child of the twl6040 MFD dirver.
  3. Documentation/devicetree/bindings/mfd/twl6040.txt
  4. Required properties:
  5. - compatible : Must be "ti,twl6040-vibra";
  6. - interrupts: 4, Vibra overcurrent interrupt
  7. - vddvibl-supply: Regulator supplying the left vibra motor
  8. - vddvibr-supply: Regulator supplying the right vibra motor
  9. - vibldrv_res: Board specific left driver resistance
  10. - vibrdrv_res: Board specific right driver resistance
  11. - viblmotor_res: Board specific left motor resistance
  12. - vibrmotor_res: Board specific right motor resistance
  13. Optional properties:
  14. - vddvibl_uV: If the vddvibl default voltage need to be changed
  15. - vddvibr_uV: If the vddvibr default voltage need to be changed
  16. Example:
  17. /*
  18. * 8-channel high quality low-power audio codec
  19. * http://www.ti.com/lit/ds/symlink/twl6040.pdf
  20. */
  21. twl6040: twl6040@4b {
  22. ...
  23. twl6040_vibra: twl6040@1 {
  24. compatible = "ti,twl6040-vibra";
  25. interrupts = <4>;
  26. vddvibl-supply = <&vbat>;
  27. vddvibr-supply = <&vbat>;
  28. vibldrv_res = <8>;
  29. vibrdrv_res = <3>;
  30. viblmotor_res = <10>;
  31. vibrmotor_res = <10>;
  32. };
  33. };