diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-03-10 14:56:17 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-11 23:43:22 +0000 |
commit | 9be4911c561ce6497bf896582b913bda3748fe51 (patch) | |
tree | af50b57889c48d11be4f8e12c00e853d6db59242 /zephyr/projects/trogdor/lazor/include/gpio_map.h | |
parent | 8224f153994ec70661259ec0de49e473eefce359 (diff) | |
download | chrome-ec-9be4911c561ce6497bf896582b913bda3748fe51.tar.gz |
zephyr: lazor: populate gpios
Populate named-gpios dts from boards/lazor/gpio.inc.
For the most part, util/gpios_to_zephyr_dts.c was used to generate
this code. See the instructions in that file if you need to replicate
this CL for another project.
BUG=b:182398910
BRANCH=none
TEST="gpioget" on lazor
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I195f428a5d1849e159f4468e57459a83571a133e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2749768
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/trogdor/lazor/include/gpio_map.h')
-rw-r--r-- | zephyr/projects/trogdor/lazor/include/gpio_map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/projects/trogdor/lazor/include/gpio_map.h b/zephyr/projects/trogdor/lazor/include/gpio_map.h index dad1d91ff7..5a73b4b9fa 100644 --- a/zephyr/projects/trogdor/lazor/include/gpio_map.h +++ b/zephyr/projects/trogdor/lazor/include/gpio_map.h @@ -9,8 +9,8 @@ #include <devicetree.h> #include <gpio_signal.h> -#define GPIO_ENTERING_RW GPIO_UNIMPLEMENTED -#define GPIO_WP_L GPIO_UNIMPLEMENTED +#define GPIO_ENTERING_RW NAMED_GPIO(ec_entering_rw) +#define GPIO_WP_L NAMED_GPIO(ec_wp_odl) /* * Set EC_CROS_GPIO_INTERRUPTS to a space-separated list of GPIO_INT items. |