ti-drv260x.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * DRV260X haptics driver family
  3. *
  4. * Author: Dan Murphy <dmurphy@ti.com>
  5. *
  6. * Copyright: (C) 2014 Texas Instruments, Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. */
  17. #ifndef _DT_BINDINGS_TI_DRV260X_H
  18. #define _DT_BINDINGS_TI_DRV260X_H
  19. /* Calibration Types */
  20. #define DRV260X_LRA_MODE 0x00
  21. #define DRV260X_LRA_NO_CAL_MODE 0x01
  22. #define DRV260X_ERM_MODE 0x02
  23. /* Library Selection */
  24. #define DRV260X_LIB_EMPTY 0x00
  25. #define DRV260X_ERM_LIB_A 0x01
  26. #define DRV260X_ERM_LIB_B 0x02
  27. #define DRV260X_ERM_LIB_C 0x03
  28. #define DRV260X_ERM_LIB_D 0x04
  29. #define DRV260X_ERM_LIB_E 0x05
  30. #define DRV260X_LIB_LRA 0x06
  31. #define DRV260X_ERM_LIB_F 0x07
  32. #endif