diff options
author | Keith Short <keithshort@chromium.org> | 2020-06-08 21:08:13 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-09 23:26:57 +0000 |
commit | 3e39eec81f5965be127771bb71a6b0c2fb1a253e (patch) | |
tree | b9f8ca5810eed7ff9df22a33bcd6db2e8c7bf193 /board/malefor | |
parent | cf2a457ac189e46c85e78c7adb46e3485ae14f5d (diff) | |
download | chrome-ec-3e39eec81f5965be127771bb71a6b0c2fb1a253e.tar.gz |
volteer: remove VSYNC sensorstabilize-lazor-13278.B-master
Remove VSYNC sensor support from all volteer boards.
BUG=b:146452722
BRANCH=none
TEST=make buildall
TEST=Boot Volteer, run "ectool motionsense"
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I1662f510901fb99a45999f46b854e7ceb3874f03
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2238671
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'board/malefor')
-rw-r--r-- | board/malefor/board.c | 15 | ||||
-rw-r--r-- | board/malefor/board.h | 1 | ||||
-rw-r--r-- | board/malefor/gpio.inc | 1 |
3 files changed, 0 insertions, 17 deletions
diff --git a/board/malefor/board.c b/board/malefor/board.c index 4211bdfabc..43fe41e27b 100644 --- a/board/malefor/board.c +++ b/board/malefor/board.c @@ -46,9 +46,6 @@ static void board_init(void) gpio_set_flags(GPIO_EC_IMU_INT_L, GPIO_INPUT | GPIO_PULL_DOWN); } - /* Enable gpio interrupt for camera vsync */ - gpio_enable_interrupt(GPIO_EC_CAM_VSYN_SLP_S0IX); - /* * TODO: b/154447182 - Malefor will control power LED and battery LED * independently, and keep the max brightness of power LED and battery @@ -179,18 +176,6 @@ struct motion_sensor_t motion_sensors[] = { .min_frequency = LSM6DSM_ODR_MIN_VAL, .max_frequency = LSM6DSM_ODR_MAX_VAL, }, - - [VSYNC] = { - .name = "Camera VSYNC", - .active_mask = SENSOR_ACTIVE_S0, - .chip = MOTIONSENSE_CHIP_GPIO, - .type = MOTIONSENSE_TYPE_SYNC, - .location = MOTIONSENSE_LOC_CAMERA, - .drv = &sync_drv, - .default_range = 0, - .min_frequency = 0, - .max_frequency = 1, - }, }; unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); diff --git a/board/malefor/board.h b/board/malefor/board.h index 1ec6632a3d..1104f6e80f 100644 --- a/board/malefor/board.h +++ b/board/malefor/board.h @@ -131,7 +131,6 @@ enum sensor_id { LID_ACCEL = 0, BASE_ACCEL, BASE_GYRO, - VSYNC, SENSOR_COUNT, }; diff --git a/board/malefor/gpio.inc b/board/malefor/gpio.inc index 5bc55f95c3..e1f356384e 100644 --- a/board/malefor/gpio.inc +++ b/board/malefor/gpio.inc @@ -30,7 +30,6 @@ GPIO_INT(DSW_PWROK, PIN(C, 7), GPIO_INT_BOTH, power_signal_interrupt) GPIO_INT(PG_EC_ALL_SYS_PWRGD, PIN(F, 4), GPIO_INT_BOTH, power_signal_interrupt) /* Sensor Interrupts */ -GPIO_INT(EC_CAM_VSYN_SLP_S0IX, PIN(7, 2), GPIO_INT_RISING, sync_interrupt) GPIO_INT(EC_IMU_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, lsm6dsm_interrupt) GPIO_INT(TABLET_MODE_L, PIN(9, 5), GPIO_INT_BOTH, gmr_tablet_switch_isr) |