From 765d56243a2a8d612c1f82418d174d8421fe0530 Mon Sep 17 00:00:00 2001 From: "amber.chen" Date: Thu, 20 Jan 2022 10:23:09 +0800 Subject: tarlo: De-feature G sensor De-feature G sensor BRANCH=main BUG=b:214317519 TEST=make -j BOARD=taeko Signed-off-by: amber.chen Change-Id: I226041c1e52230b444e4d8c48d1785fd3106c918 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3403359 Reviewed-by: caveh jalali --- board/taeko/sensors.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/taeko/sensors.c b/board/taeko/sensors.c index f12e2a9f94..4d5d72b062 100644 --- a/board/taeko/sensors.c +++ b/board/taeko/sensors.c @@ -18,6 +18,7 @@ #include "temp_sensor.h" #include "thermal.h" #include "temp_sensor/thermistor.h" +#include "tablet_mode.h" #if 0 #define CPRINTS(format, args...) ccprints(format, ## args) @@ -331,6 +332,8 @@ static void baseboard_sensors_init(void) } else { CPRINTS("Clamshell"); motion_sensor_count = 0; + gmr_tablet_switch_disable(); + gpio_set_flags(GPIO_TABLET_MODE_L, GPIO_INPUT | GPIO_PULL_DOWN); /* Gyro is not present, don't allow line to float */ gpio_set_flags(GPIO_EC_IMU_INT_R_L, GPIO_INPUT | GPIO_PULL_DOWN); -- cgit v1.2.1