diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-12 13:27:05 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:55:18 +0000 |
commit | ac816e98cdc30ce334c9061feba2bda70b07c09c (patch) | |
tree | 11668676000c9e6be6a23fb14d5e10c9d4090c7f | |
parent | 9bf1202e4bedbbef1384e68d68e261d4b667bc09 (diff) | |
download | chrome-ec-ac816e98cdc30ce334c9061feba2bda70b07c09c.tar.gz |
Revert "IO_Expander: introduce the common interface of IO expander"
This reverts commit 26d7adb2fd72635cde56199b025c200a125dcb78.
BUG=b:200823466
TEST=make buildall -j
Change-Id: I960bdb09bc377394bf4893b2ebcda90a051763cb
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285756
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
-rw-r--r-- | include/config.h | 19 | ||||
-rw-r--r-- | include/gpio.wrap | 6 |
2 files changed, 0 insertions, 25 deletions
diff --git a/include/config.h b/include/config.h index aef1d301c5..525f15b61d 100644 --- a/include/config.h +++ b/include/config.h @@ -1180,22 +1180,6 @@ #undef CONFIG_COMMON_GPIO_SHORTNAMES /* - * Control the IO pins of IO expander via IO Expander APIs - * - * If defined, declare the IOEX pin with macro IOEX. For example: - * IOEX(IO_NAME, EXPIN(0, 0, 0), GPIO_OUT_HIGH) - * For more details, see gpio_list.h. - * - * WARNING: make sure none of IOEX IOs are accessed at interrupt level / with - * interrupts disabled. Doing so may hang the EC because IO expanders may rely - * on I2C interrupts. - * - * Some reasons that not unify the GPIO and IOEX APIs have been disscussed and - * filed in the crbug.com/985540. - */ -#undef CONFIG_IO_EXPANDER - -/* * Provide common runtime layer code (tasks, hooks ...) * You want this unless you are doing a really tiny firmware. */ @@ -2163,9 +2147,6 @@ /* Support NXP PCA9534 I/O expander. */ #undef CONFIG_IO_EXPANDER_PCA9534 -/* Number of IO Expander ports */ -#undef CONFIG_IO_EXPANDER_PORT_COUNT - /*****************************************************************************/ /* Number of IRQs supported on the EC chip */ diff --git a/include/gpio.wrap b/include/gpio.wrap index b68621d49c..82f6d08da2 100644 --- a/include/gpio.wrap +++ b/include/gpio.wrap @@ -132,10 +132,6 @@ #define UNIMPLEMENTED_RW(name) UNIMPLEMENTED(name) #endif -#ifndef IOEX -#define IOEX(name, expin, flags) -#endif - #include "gpio.inc" /* @@ -153,5 +149,3 @@ #undef UNIMPLEMENTED #undef UNIMPLEMENTED_RO #undef UNIMPLEMENTED_RW - -#undef IOEX |