ti-drv260x.h 666 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * DRV260X haptics driver family
  4. *
  5. * Author: Dan Murphy <[email protected]>
  6. *
  7. * Copyright: (C) 2014 Texas Instruments, Inc.
  8. */
  9. #ifndef _DT_BINDINGS_TI_DRV260X_H
  10. #define _DT_BINDINGS_TI_DRV260X_H
  11. /* Calibration Types */
  12. #define DRV260X_LRA_MODE 0x00
  13. #define DRV260X_LRA_NO_CAL_MODE 0x01
  14. #define DRV260X_ERM_MODE 0x02
  15. /* Library Selection */
  16. #define DRV260X_LIB_EMPTY 0x00
  17. #define DRV260X_ERM_LIB_A 0x01
  18. #define DRV260X_ERM_LIB_B 0x02
  19. #define DRV260X_ERM_LIB_C 0x03
  20. #define DRV260X_ERM_LIB_D 0x04
  21. #define DRV260X_ERM_LIB_E 0x05
  22. #define DRV260X_LIB_LRA 0x06
  23. #define DRV260X_ERM_LIB_F 0x07
  24. #endif