diff options
author | Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com> | 2022-06-15 09:53:49 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-16 11:16:35 +0000 |
commit | f2dcbad5a8d52d663eb900002f99b1a97abde32d (patch) | |
tree | 8ff3edc12f225a593ea47e8e1bc451be714c14d5 | |
parent | ba7b17f7bb2c6689ec7e00df20e571ffa640fb95 (diff) | |
download | chrome-ec-f2dcbad5a8d52d663eb900002f99b1a97abde32d.tar.gz |
osiris: Remove unused i2c port
Remove unused i2c port
BUG=b:224423318
BRANCH=none
TEST=check i2cscan will not scan i2c3
Signed-off-by: Yu-An Chen <yu-an.chen@quanta.corp-partner.google.com>
Change-Id: I31d5d8907ee99436b2f418ba693025843972a720
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3705160
Commit-Queue: caveh jalali <caveh@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
-rw-r--r-- | board/osiris/board.h | 1 | ||||
-rw-r--r-- | board/osiris/gpio.inc | 5 | ||||
-rw-r--r-- | board/osiris/i2c.c | 8 |
3 files changed, 3 insertions, 11 deletions
diff --git a/board/osiris/board.h b/board/osiris/board.h index 2277b1ce9a..292a540087 100644 --- a/board/osiris/board.h +++ b/board/osiris/board.h @@ -106,7 +106,6 @@ #define I2C_PORT_USB_C0_C2_BC12 NPCX_I2C_PORT2_0 #define I2C_PORT_USB_C1_BC12 NPCX_I2C_PORT6_1 -#define I2C_PORT_USB_C0_C2_MUX NPCX_I2C_PORT3_0 #define I2C_PORT_USB_C1_MUX NPCX_I2C_PORT6_1 #define I2C_PORT_BATTERY NPCX_I2C_PORT5_0 diff --git a/board/osiris/gpio.inc b/board/osiris/gpio.inc index ffbdf41f69..f4e96f9a61 100644 --- a/board/osiris/gpio.inc +++ b/board/osiris/gpio.inc @@ -44,8 +44,6 @@ GPIO(EC_I2C_SENSOR_SCL, PIN(B, 5), GPIO_INPUT | GPIO_SEL_1P8V) GPIO(EC_I2C_SENSOR_SDA, PIN(B, 4), GPIO_INPUT | GPIO_SEL_1P8V) GPIO(EC_I2C_USB_C0_C2_PPC_BC_SCL, PIN(9, 2), GPIO_INPUT) GPIO(EC_I2C_USB_C0_C2_PPC_BC_SDA, PIN(9, 1), GPIO_INPUT) -GPIO(EC_I2C_USB_C0_C2_RT_SCL, PIN(D, 1), GPIO_INPUT) -GPIO(EC_I2C_USB_C0_C2_RT_SDA, PIN(D, 0), GPIO_INPUT) GPIO(EC_I2C_USB_C0_C2_TCPC_SCL, PIN(9, 0), GPIO_INPUT) GPIO(EC_I2C_USB_C0_C2_TCPC_SDA, PIN(8, 7), GPIO_INPUT) GPIO(EC_I2C_USB_C1_MIX_SCL, PIN(E, 4), GPIO_INPUT) @@ -125,6 +123,9 @@ UNUSED(PIN(8, 1)) /* GPIO81 */ UNUSED(PIN(5, 6)) /* GPIO56 */ UNUSED(PIN(9, 3)) /* GPIO93 */ UNUSED(PIN(9, 7)) /* GPIO97 */ +UNUSED(PIN(D, 0)) /* GPIOD0/I2C3_SDA0 */ +UNUSED(PIN(D, 1)) /* GPIOD1/I2C3_SCL0 */ + /* Pre-configured PSL balls: J8 K6 */ /* diff --git a/board/osiris/i2c.c b/board/osiris/i2c.c index c4b057ce2c..7c88d306a7 100644 --- a/board/osiris/i2c.c +++ b/board/osiris/i2c.c @@ -38,14 +38,6 @@ const struct i2c_port_t i2c_ports[] = { .sda = GPIO_EC_I2C_USB_C0_C2_PPC_BC_SDA, }, { - /* I2C3 */ - .name = "retimer0,2", - .port = I2C_PORT_USB_C0_C2_MUX, - .kbps = 1000, - .scl = GPIO_EC_I2C_USB_C0_C2_RT_SCL, - .sda = GPIO_EC_I2C_USB_C0_C2_RT_SDA, - }, - { /* I2C4 C1 TCPC */ .name = "tcpc1", .port = I2C_PORT_USB_C1_TCPC, |