diff options
Diffstat (limited to 'board/magolor')
-rw-r--r-- | board/magolor/board.c | 12 | ||||
-rw-r--r-- | board/magolor/board.h | 3 | ||||
-rw-r--r-- | board/magolor/gpio.inc | 1 |
3 files changed, 0 insertions, 16 deletions
diff --git a/board/magolor/board.c b/board/magolor/board.c index c8c6fab77f..4335141881 100644 --- a/board/magolor/board.c +++ b/board/magolor/board.c @@ -20,7 +20,6 @@ #include "driver/bc12/pi3usb9201.h" #include "driver/charger/isl923x.h" #include "driver/retimer/nb7v904m.h" -#include "driver/sync.h" #include "driver/tcpm/raa489000.h" #include "driver/tcpm/tcpci.h" #include "driver/usb_mux/pi3usb3x532.h" @@ -383,17 +382,6 @@ struct motion_sensor_t motion_sensors[] = { .min_frequency = BMI_GYRO_MIN_FREQ, .max_frequency = BMI_GYRO_MAX_FREQ, }, - [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, - }, }; const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors); diff --git a/board/magolor/board.h b/board/magolor/board.h index a1d32f1bd4..06b15529ce 100644 --- a/board/magolor/board.h +++ b/board/magolor/board.h @@ -99,7 +99,6 @@ #define CONFIG_ACCEL_BMA255 /* Lid accel */ #define CONFIG_ACCELGYRO_BMI160 /* Base accel */ -#define CONFIG_SYNC /* Camera VSYNC */ /* Lid operates in forced mode, base in FIFO */ #define CONFIG_ACCEL_FORCE_MODE_MASK BIT(LID_ACCEL) @@ -110,7 +109,6 @@ #define CONFIG_ACCEL_INTERRUPTS #define CONFIG_ACCELGYRO_BMI160_INT_EVENT \ TASK_EVENT_MOTION_SENSOR_INTERRUPT(BASE_ACCEL) -#define CONFIG_SYNC_INT_EVENT TASK_EVENT_MOTION_SENSOR_INTERRUPT(VSYNC) #define CONFIG_LID_ANGLE #define CONFIG_LID_ANGLE_UPDATE @@ -153,7 +151,6 @@ enum sensor_id { LID_ACCEL, BASE_ACCEL, BASE_GYRO, - VSYNC, SENSOR_COUNT }; diff --git a/board/magolor/gpio.inc b/board/magolor/gpio.inc index f7b44dc335..42593db13b 100644 --- a/board/magolor/gpio.inc +++ b/board/magolor/gpio.inc @@ -37,7 +37,6 @@ GPIO_INT(VOLUP_BTN_ODL, PIN(7, 3), GPIO_INT_BOTH | GPIO_PULL_UP, button_interr GPIO_INT(LID_OPEN, PIN(D, 2), GPIO_INT_BOTH, lid_interrupt) GPIO_INT(EC_WP_OD, PIN(A, 1), GPIO_INT_BOTH, switch_interrupt) GPIO_INT(BASE_SIXAXIS_INT_L, PIN(5, 6), GPIO_INT_FALLING | GPIO_SEL_1P8V, bmi160_interrupt) -GPIO_INT(CAM_EC_VSYNC, PIN(0, 0), GPIO_INT_FALLING | GPIO_SEL_1P8V, sync_interrupt) GPIO_INT(LID_360_L, PIN(9, 5), GPIO_INT_BOTH, gmr_tablet_switch_isr) /* I2C Ports */ |