summaryrefslogtreecommitdiff
path: root/board/drobit/board.c
diff options
context:
space:
mode:
authorMichael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>2020-11-03 21:27:46 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-12 04:14:49 +0000
commitf4b4cb8ef5f2ce35ada73b35596b699bbb161249 (patch)
tree38ae5ae1a6702e901f2516ddc9c91e83a1085836 /board/drobit/board.c
parent7f0c15e6d2accd3aec28c93ff7add11268e3e6c7 (diff)
downloadchrome-ec-f4b4cb8ef5f2ce35ada73b35596b699bbb161249.tar.gz
drobit: Remove G-sensor/Hall-sensor/Volume button function
Base on schematic, remove G-sensor/hall-sensor/volume button function. BUG=b:172309606 BRANCH=firmware-volteer-13521.B TEST=make BOARD=drobit Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Iafed86fb81a727632c374320681984cf32ea0e3f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2517259 Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/drobit/board.c')
-rw-r--r--board/drobit/board.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/board/drobit/board.c b/board/drobit/board.c
index e236cf0128..00e7e20710 100644
--- a/board/drobit/board.c
+++ b/board/drobit/board.c
@@ -9,8 +9,6 @@
#include "common.h"
#include "accelgyro.h"
#include "cbi_ec_fw_config.h"
-#include "driver/accel_bma2x2.h"
-#include "driver/accelgyro_bmi260.h"
#include "driver/bc12/pi3usb9201.h"
#include "driver/ppc/sn5s330.h"
#include "driver/ppc/syv682x.h"
@@ -35,7 +33,6 @@
#include "switch.h"
#include "system.h"
#include "task.h"
-#include "tablet_mode.h"
#include "throttle_ap.h"
#include "uart.h"
#include "usb_mux.h"
@@ -219,11 +216,11 @@ BUILD_ASSERT(ARRAY_SIZE(mft_channels) == MFT_CH_COUNT);
/* I2C port map configuration */
const struct i2c_port_t i2c_ports[] = {
{
- .name = "sensor",
- .port = I2C_PORT_SENSOR,
+ .name = "usb_c1_mix",
+ .port = I2C_PORT_USB_C1_MIX,
.kbps = 400,
- .scl = GPIO_EC_I2C0_SENSOR_SCL,
- .sda = GPIO_EC_I2C0_SENSOR_SDA,
+ .scl = GPIO_EC_I2C0_USB_C1_MIX_SCL,
+ .sda = GPIO_EC_I2C0_USB_C1_MIX_SDA,
},
{
.name = "usb_c0",