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