diff options
author | Leifu Zhao <leifu.zhao@intel.com> | 2019-11-14 18:18:53 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-21 19:44:14 +0000 |
commit | a5e34f327ae08e0e77e78f94f4f725ea9ab6f374 (patch) | |
tree | 946307734e5f8a269746212ed840bb41dd6a6622 /board/tglrvp_ish | |
parent | 55dc3bb5577f2db697c2b0322d8d98f87aa47e38 (diff) | |
download | chrome-ec-a5e34f327ae08e0e77e78f94f4f725ea9ab6f374.tar.gz |
ish: Use lsm6dsm polling mode on tgl rvp platform
Need to use polling mode for lsm6dsm on tgl rvp.
BUG=b:141519691
BRANCH=none
TEST=tested on tgl rvp
Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
Change-Id: I1161e0c38c81f8205e28ae2428224a9e6552e820
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1916680
Tested-by: Leifu Zhao <leifu.zhao@intel.corp-partner.google.com>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Leifu Zhao <leifu.zhao@intel.corp-partner.google.com>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Leifu Zhao <leifu.zhao@intel.corp-partner.google.com>
Diffstat (limited to 'board/tglrvp_ish')
-rw-r--r-- | board/tglrvp_ish/board.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/board/tglrvp_ish/board.h b/board/tglrvp_ish/board.h index 1f99061cec..cadd6cf8fe 100644 --- a/board/tglrvp_ish/board.h +++ b/board/tglrvp_ish/board.h @@ -32,21 +32,8 @@ #define CONFIG_I2C_MASTER #define CONFIG_ACCELGYRO_LSM6DSM /* For LSM6DS3 */ -#define CONFIG_ACCEL_INTERRUPTS -/* Enable sensor fifo, must also define the _SIZE and _THRES */ -#define CONFIG_ACCEL_FIFO -/* FIFO size is a power of 2. */ -#define CONFIG_ACCEL_FIFO_SIZE 256 -/* Depends on how fast the AP boots and typical ODRs. */ -#define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3) #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(BASE_ACCEL) -#define CONFIG_ACCEL_LSM6DSM_INT_EVENT \ - TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) - -#define CONFIG_MKBP_EVENT -#define CONFIG_MKBP_USE_HECI - /* Host command over HECI */ #define CONFIG_HOSTCMD_HECI @@ -87,10 +74,7 @@ /* Motion sensors */ enum sensor_id { - LID_ACCEL, - LID_GYRO, BASE_ACCEL, - LID_MAG, SENSOR_COUNT }; |