import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / ttab / vibrator / cust_vibrator.h
1 #ifndef __CUST_VIBRATOR_H__
2 #define __CUST_VIBRATOR_H__
3
4 #include <mach/mt_reg_base.h>
5 #include <mach/mt_typedefs.h>
6 #include <mach/mt_gpio.h>
7 #include <mach/mt_pm_ldo.h>
8
9 #define CUST_VIBR_LIMIT
10 #define CUST_VIBR_VOL
11 /*----------------------------------------------------------------------------*/
12 struct vibrator_hw {
13 int vib_timer;
14 #ifdef CUST_VIBR_LIMIT
15 int vib_limit;
16 #endif
17 #ifdef CUST_VIBR_VOL
18 int vib_vol;
19 #endif
20 };
21 /*----------------------------------------------------------------------------*/
22 extern struct vibrator_hw *get_cust_vibrator_hw(void);
23 /*----------------------------------------------------------------------------*/
24 #endif