ti,drv260x.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. * Texas Instruments - drv260x Haptics driver family
  2. Required properties:
  3. - compatible - One of:
  4. "ti,drv2604" - DRV2604
  5. "ti,drv2605" - DRV2605
  6. "ti,drv2605l" - DRV2605L
  7. - reg - I2C slave address
  8. - vbat-supply - Required supply regulator
  9. - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h)
  10. DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric)
  11. DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration
  12. sequence during init. And the device is configured for real
  13. time playback mode (RTP mode).
  14. DRV260X_ERM_MODE - Eccentric Rotating Mass mode (Rotary vibrator)
  15. - library-sel - These are ROM based waveforms pre-programmed into the IC.
  16. This should be set to set the library to use at power up.
  17. (defined in include/dt-bindings/input/ti-drv260x.h)
  18. DRV260X_LIB_EMPTY - Do not use a pre-programmed library
  19. DRV260X_ERM_LIB_A - Pre-programmed Library
  20. DRV260X_ERM_LIB_B - Pre-programmed Library
  21. DRV260X_ERM_LIB_C - Pre-programmed Library
  22. DRV260X_ERM_LIB_D - Pre-programmed Library
  23. DRV260X_ERM_LIB_E - Pre-programmed Library
  24. DRV260X_ERM_LIB_F - Pre-programmed Library
  25. DRV260X_LIB_LRA - Pre-programmed LRA Library
  26. Optional properties:
  27. - enable-gpio - gpio pin to enable/disable the device.
  28. - vib-rated-mv - The rated voltage of the actuator in millivolts.
  29. If this is not set then the value will be defaulted to
  30. 3.2 v.
  31. - vib-overdrive-mv - The overdrive voltage of the actuator in millivolts.
  32. If this is not set then the value will be defaulted to
  33. 3.2 v.
  34. Example:
  35. haptics: haptics@5a {
  36. compatible = "ti,drv2605l";
  37. reg = <0x5a>;
  38. vbat-supply = <&vbat>;
  39. enable-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
  40. mode = <DRV260X_LRA_MODE>;
  41. library-sel = <DRV260X_LIB_LRA>;
  42. vib-rated-mv = <3200>;
  43. vib-overdriver-mv = <3200>;
  44. }
  45. For more product information please see the link below:
  46. http://www.ti.com/product/drv2605