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