summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2022-01-19 15:00:10 -0700
committerCommit Bot <commit-bot@chromium.org>2022-01-20 01:22:46 +0000
commitb227e22363b8ba6b73f4b3b968d785a571d39458 (patch)
tree275a26bd16efd940dabaebf58c600d2e70f24243
parent3999f6aea16184895766992d291d77df2ea9948b (diff)
downloadchrome-ec-b227e22363b8ba6b73f4b3b968d785a571d39458.tar.gz
zephyr test: Remove ISL9241 configuration
This charger chip is not defined in the device tree and is not used by existing tests. BUG=b:209907297 TEST=zmake configure --test zephyr/test/drivers BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I29e2c5a164aca04ca0fcd2f8c59ab65b054c0dc7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3402341 Reviewed-by: Aaron Massey <aaronmassey@google.com>
-rw-r--r--zephyr/test/drivers/prj.conf1
-rw-r--r--zephyr/test/drivers/src/stubs.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/zephyr/test/drivers/prj.conf b/zephyr/test/drivers/prj.conf
index ad6b72f554..33a70dd251 100644
--- a/zephyr/test/drivers/prj.conf
+++ b/zephyr/test/drivers/prj.conf
@@ -62,7 +62,6 @@ CONFIG_PLATFORM_EC_BATTERY_SMART=y
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR=10
CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR_AC=10
CONFIG_PLATFORM_EC_CHARGER_ISL9238=y
-CONFIG_PLATFORM_EC_CHARGER_ISL9241=y
CONFIG_PLATFORM_EC_CHIP_INIT_ROM_REGION=y
CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_CHARGER=y
CONFIG_PLATFORM_EC_USB_PD_FRS=y
diff --git a/zephyr/test/drivers/src/stubs.c b/zephyr/test/drivers/src/stubs.c
index d46f899101..33dbac2676 100644
--- a/zephyr/test/drivers/src/stubs.c
+++ b/zephyr/test/drivers/src/stubs.c
@@ -54,13 +54,6 @@ BUILD_ASSERT(ARRAY_SIZE(pi3usb9201_bc12_chips) == USBC_PORT_COUNT);
/* Charger Chip Configuration */
const struct charger_config_t chg_chips[] = {
-#ifdef CONFIG_PLATFORM_EC_CHARGER_ISL9241
- {
- .i2c_port = I2C_PORT_CHARGER,
- .i2c_addr_flags = ISL9241_ADDR_FLAGS,
- .drv = &isl9241_drv,
- },
-#endif
#ifdef CONFIG_PLATFORM_EC_CHARGER_ISL9238
{
.i2c_port = I2C_PORT_CHARGER,