import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / pixi3_10 / accelerometer / cust_acc.c
1 #include <linux/types.h>
2 #include <cust_acc.h>
3 #include <mach/mt_pm_ldo.h>
4
5
6 /*---------------------------------------------------------------------------*/
7 static struct acc_hw cust_acc_hw = {
8 .i2c_num = 2,
9 .direction = 7,
10 .power_id = MT65XX_POWER_NONE, /*!< LDO is not used */
11 .power_vol= VOL_DEFAULT, /*!< LDO is not used */
12 .firlen = 0, //old value 16 /*!< don't enable low pass fileter */
13 };
14 /*---------------------------------------------------------------------------*/
15 struct acc_hw* get_cust_acc_hw(void)
16 {
17 return &cust_acc_hw;
18 }