diff options
author | Andrew McRae <amcrae@google.com> | 2022-01-18 13:30:10 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-01-20 23:53:39 +0000 |
commit | f4b2abb9423d22e4b9bb1a28c5fa2c7aac7be6da (patch) | |
tree | 2a547deeafbfe97230b3e81d55f14d1a9c70193c /zephyr/projects | |
parent | 1b69854af42066ccbe4e584734d288cd9b5e921f (diff) | |
download | chrome-ec-f4b2abb9423d22e4b9bb1a28c5fa2c7aac7be6da.tar.gz |
ec: Rename GMR_TABLET_MODE_GPIO_L to GPIO_TABLET_MODE_L
Normalise the name of the tablet mode detection
GPIO so that everyboard does not need to redefine it.
BUG=none
TEST=zmake testall; make buildall
BRANCH=none
Signed-off-by: Andrew McRae <amcrae@google.com>
Change-Id: Ifb458e755d1e00c0cff66a02c78dfccaba2d070c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397141
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/projects')
8 files changed, 0 insertions, 23 deletions
diff --git a/zephyr/projects/asurada/hayato/include/gpio_map.h b/zephyr/projects/asurada/hayato/include/gpio_map.h index eb99aeb2dc..28ce2e4269 100644 --- a/zephyr/projects/asurada/hayato/include/gpio_map.h +++ b/zephyr/projects/asurada/hayato/include/gpio_map.h @@ -12,10 +12,6 @@ #define GPIO_ENTERING_RW GPIO_UNIMPLEMENTED #define GPIO_WP_L GPIO_UNIMPLEMENTED -#ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L -#endif - /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. * diff --git a/zephyr/projects/brya/brya/include/gpio_map.h b/zephyr/projects/brya/brya/include/gpio_map.h index 7e3dc36e4c..d1fc03f940 100644 --- a/zephyr/projects/brya/brya/include/gpio_map.h +++ b/zephyr/projects/brya/brya/include/gpio_map.h @@ -33,7 +33,6 @@ #ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE #define GMR_TABLET_MODE_INT(gpio, edge) GPIO_INT(gpio, edge, \ gmr_tablet_switch_isr) -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L #else #define GMR_TABLET_MODE_INT(gpio, edge) #endif diff --git a/zephyr/projects/corsola/include/gpio_map.h b/zephyr/projects/corsola/include/gpio_map.h index 474688e1e5..db78ceb3ea 100644 --- a/zephyr/projects/corsola/include/gpio_map.h +++ b/zephyr/projects/corsola/include/gpio_map.h @@ -141,10 +141,6 @@ #define USBA_INT() #endif -#ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L -#endif - #ifdef CONFIG_PLATFORM_EC_ACCELGYRO_ICM42607 #define BASE_IMU_INT() GPIO_INT(GPIO_BASE_IMU_INT_L, \ GPIO_INT_EDGE_FALLING, \ diff --git a/zephyr/projects/herobrine/herobrine_npcx9/include/gpio_map.h b/zephyr/projects/herobrine/herobrine_npcx9/include/gpio_map.h index 00ab9bd98c..9796915947 100644 --- a/zephyr/projects/herobrine/herobrine_npcx9/include/gpio_map.h +++ b/zephyr/projects/herobrine/herobrine_npcx9/include/gpio_map.h @@ -9,10 +9,6 @@ #include <devicetree.h> #include <gpio_signal.h> -#ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L -#endif - /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. * diff --git a/zephyr/projects/trogdor/lazor/include/gpio_map.h b/zephyr/projects/trogdor/lazor/include/gpio_map.h index 00ee9c48e1..9d5dbfc129 100644 --- a/zephyr/projects/trogdor/lazor/include/gpio_map.h +++ b/zephyr/projects/trogdor/lazor/include/gpio_map.h @@ -9,10 +9,6 @@ #include <devicetree.h> #include <gpio_signal.h> -#ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L -#endif - /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. * diff --git a/zephyr/projects/trogdor/trogdor/include/gpio_map.h b/zephyr/projects/trogdor/trogdor/include/gpio_map.h index df4dcb0e25..3cf47f2056 100644 --- a/zephyr/projects/trogdor/trogdor/include/gpio_map.h +++ b/zephyr/projects/trogdor/trogdor/include/gpio_map.h @@ -9,10 +9,6 @@ #include <devicetree.h> #include <gpio_signal.h> -#ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L -#endif - /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. * diff --git a/zephyr/projects/volteer/delbin/include/gpio_map.h b/zephyr/projects/volteer/delbin/include/gpio_map.h index 1f4b4e1ee0..ea1f186a6d 100644 --- a/zephyr/projects/volteer/delbin/include/gpio_map.h +++ b/zephyr/projects/volteer/delbin/include/gpio_map.h @@ -31,7 +31,6 @@ #ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE #define GMR_TABLET_MODE_INT(gpio, edge) GPIO_INT(gpio, edge, \ gmr_tablet_switch_isr) -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L #else #define GMR_TABLET_MODE_INT(gpio, edge) #endif diff --git a/zephyr/projects/volteer/volteer/include/gpio_map.h b/zephyr/projects/volteer/volteer/include/gpio_map.h index fe6e8d08ee..c25d8e047f 100644 --- a/zephyr/projects/volteer/volteer/include/gpio_map.h +++ b/zephyr/projects/volteer/volteer/include/gpio_map.h @@ -62,7 +62,6 @@ #ifdef CONFIG_PLATFORM_EC_GMR_TABLET_MODE #define GMR_TABLET_MODE_INT(gpio, edge) GPIO_INT(gpio, edge, \ gmr_tablet_switch_isr) -#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L #else #define GMR_TABLET_MODE_INT(gpio, edge) #endif |