import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / pixi3_10 / vibrator / cust_vibrator.h
CommitLineData
6fa3eb70
S
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/*----------------------------------------------------------------------------*/
12struct 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/*----------------------------------------------------------------------------*/
22extern struct vibrator_hw *get_cust_vibrator_hw(void);
23/*----------------------------------------------------------------------------*/
24#endif