xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/input/ti-drv260x.h (revision 4effb9b18f024fdac2e35b6e9f6ec111f2d026be)
1 /*	$NetBSD: ti-drv260x.h,v 1.1.1.2 2020/01/03 14:33:03 skrll Exp $	*/
2 
3 /* SPDX-License-Identifier: GPL-2.0-only */
4 /*
5  * DRV260X haptics driver family
6  *
7  * Author: Dan Murphy <dmurphy@ti.com>
8  *
9  * Copyright:   (C) 2014 Texas Instruments, Inc.
10  */
11 
12 #ifndef _DT_BINDINGS_TI_DRV260X_H
13 #define _DT_BINDINGS_TI_DRV260X_H
14 
15 /* Calibration Types */
16 #define DRV260X_LRA_MODE		0x00
17 #define DRV260X_LRA_NO_CAL_MODE	0x01
18 #define DRV260X_ERM_MODE		0x02
19 
20 /* Library Selection */
21 #define DRV260X_LIB_EMPTY			0x00
22 #define DRV260X_ERM_LIB_A			0x01
23 #define DRV260X_ERM_LIB_B			0x02
24 #define DRV260X_ERM_LIB_C			0x03
25 #define DRV260X_ERM_LIB_D			0x04
26 #define DRV260X_ERM_LIB_E			0x05
27 #define DRV260X_LIB_LRA			0x06
28 #define DRV260X_ERM_LIB_F			0x07
29 
30 #endif
31