summaryrefslogtreecommitdiff
path: root/board/volteer
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2020-09-23 14:06:53 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-06 23:06:12 +0000
commitad86e9cea45724d7d686f45f1d48a476f81afc2e (patch)
treefb6c497e086a5b7e861248f4c253bfe6a1185c1d /board/volteer
parent05d5eb74125008d0beceff89945f63fb38082465 (diff)
downloadchrome-ec-ad86e9cea45724d7d686f45f1d48a476f81afc2e.tar.gz
usb: Remove references to usb23
The TCSS port mapping is not used by the EC and the higher layers no longer query the EC for this mapping. We can remove this feature and disable CONFIG_INTEL_VIRTUAL_MUX which was added to enable it. BRANCH=none BUG=b:153941950 TEST=buildall passes Change-Id: I2d7f51212f3e64d74827d7f82654eb93534b8db4 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2427632 Reviewed-by: Keith Short <keithshort@chromium.org> Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/volteer')
-rw-r--r--board/volteer/board.c3
-rw-r--r--board/volteer/board.h11
2 files changed, 0 insertions, 14 deletions
diff --git a/board/volteer/board.c b/board/volteer/board.c
index a5891b7aed..972394d1c2 100644
--- a/board/volteer/board.c
+++ b/board/volteer/board.c
@@ -323,7 +323,6 @@ static const struct tcpc_config_t tcpc_config_p1_usb3 = {
},
.flags = TCPC_FLAGS_TCPCI_REV2_0 | TCPC_FLAGS_TCPCI_REV2_0_NO_VSAFE0V,
.drv = &ps8xxx_tcpm_drv,
- .usb23 = USBC_PORT_1_USB2_NUM | (USBC_PORT_1_USB3_NUM << 4),
};
/*
@@ -543,7 +542,6 @@ struct tcpc_config_t tcpc_config[] = {
.addr_flags = TUSB422_I2C_ADDR_FLAGS,
},
.drv = &tusb422_tcpm_drv,
- .usb23 = USBC_PORT_0_USB2_NUM | (USBC_PORT_0_USB3_NUM << 4),
},
[USBC_PORT_C1] = {
.bus_type = EC_BUS_TYPE_I2C,
@@ -552,7 +550,6 @@ struct tcpc_config_t tcpc_config[] = {
.addr_flags = TUSB422_I2C_ADDR_FLAGS,
},
.drv = &tusb422_tcpm_drv,
- .usb23 = USBC_PORT_1_USB2_NUM | (USBC_PORT_1_USB3_NUM << 4),
},
};
BUILD_ASSERT(ARRAY_SIZE(tcpc_config) == USBC_PORT_COUNT);
diff --git a/board/volteer/board.h b/board/volteer/board.h
index 5e607db0b1..d4be115677 100644
--- a/board/volteer/board.h
+++ b/board/volteer/board.h
@@ -59,17 +59,6 @@
/* USB Type C and USB PD defines */
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
-/*
- * USB-C port's USB2 & USB3 mapping from schematics
- * USB2 numbering on PCH - 1 to n
- * USB3 numbering on AP - 0 to n (PMC's USB3 numbering for MUX
- * configuration is - 1 to n hence add +1)
- */
-#define USBC_PORT_0_USB2_NUM 9
-#define USBC_PORT_0_USB3_NUM 1
-#define USBC_PORT_1_USB2_NUM 4
-#define USBC_PORT_1_USB3_NUM 2
-
/* TODO: b/144165680 - measure and check these values on Volteer */
#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */