xref: /linux/include/dt-bindings/input/ti-drv260x.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*1802d0beSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
27132fe4fSDan Murphy /*
37132fe4fSDan Murphy  * DRV260X haptics driver family
47132fe4fSDan Murphy  *
57132fe4fSDan Murphy  * Author: Dan Murphy <dmurphy@ti.com>
67132fe4fSDan Murphy  *
77132fe4fSDan Murphy  * Copyright:   (C) 2014 Texas Instruments, Inc.
87132fe4fSDan Murphy  */
97132fe4fSDan Murphy 
107132fe4fSDan Murphy #ifndef _DT_BINDINGS_TI_DRV260X_H
117132fe4fSDan Murphy #define _DT_BINDINGS_TI_DRV260X_H
127132fe4fSDan Murphy 
137132fe4fSDan Murphy /* Calibration Types */
147132fe4fSDan Murphy #define DRV260X_LRA_MODE		0x00
157132fe4fSDan Murphy #define DRV260X_LRA_NO_CAL_MODE	0x01
167132fe4fSDan Murphy #define DRV260X_ERM_MODE		0x02
177132fe4fSDan Murphy 
187132fe4fSDan Murphy /* Library Selection */
197132fe4fSDan Murphy #define DRV260X_LIB_EMPTY			0x00
207132fe4fSDan Murphy #define DRV260X_ERM_LIB_A			0x01
217132fe4fSDan Murphy #define DRV260X_ERM_LIB_B			0x02
227132fe4fSDan Murphy #define DRV260X_ERM_LIB_C			0x03
237132fe4fSDan Murphy #define DRV260X_ERM_LIB_D			0x04
247132fe4fSDan Murphy #define DRV260X_ERM_LIB_E			0x05
257132fe4fSDan Murphy #define DRV260X_LIB_LRA			0x06
267132fe4fSDan Murphy #define DRV260X_ERM_LIB_F			0x07
277132fe4fSDan Murphy 
287132fe4fSDan Murphy #endif
29