1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * DRV260X haptics driver family
5 * Author: Dan Murphy <dmurphy@ti.com>
7 * Copyright: (C) 2014 Texas Instruments, Inc.
10 #ifndef _DT_BINDINGS_TI_DRV260X_H
11 #define _DT_BINDINGS_TI_DRV260X_H
13 /* Calibration Types */
14 #define DRV260X_LRA_MODE 0x00
15 #define DRV260X_LRA_NO_CAL_MODE 0x01
16 #define DRV260X_ERM_MODE 0x02
18 /* Library Selection */
19 #define DRV260X_LIB_EMPTY 0x00
20 #define DRV260X_ERM_LIB_A 0x01
21 #define DRV260X_ERM_LIB_B 0x02
22 #define DRV260X_ERM_LIB_C 0x03
23 #define DRV260X_ERM_LIB_D 0x04
24 #define DRV260X_ERM_LIB_E 0x05
25 #define DRV260X_LIB_LRA 0x06
26 #define DRV260X_ERM_LIB_F 0x07