summaryrefslogtreecommitdiff
path: root/include/gpio_list.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-12-04 14:37:16 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-12-10 22:14:07 +0000
commit1b1c3089afada7b53e7836ce2b98c157f36a44a8 (patch)
treeb741f174426d280347de3d0c87032ec241095c97 /include/gpio_list.h
parent8decf722c52cd03681d4c6a900722a11388b59f3 (diff)
downloadchrome-ec-1b1c3089afada7b53e7836ce2b98c157f36a44a8.tar.gz
g: implement GPIOs
Add a driver for the GPIO controller. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:33816 TEST=press the push buttons on the board and see the console text message and the LEDs lighting up. Change-Id: Idb408fe1c341beb8a97f2047ba6740e0d40cedf5 Reviewed-on: https://chromium-review.googlesource.com/233307 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/gpio_list.h')
-rw-r--r--include/gpio_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpio_list.h b/include/gpio_list.h
index 9077c17fd2..4ea1da27a3 100644
--- a/include/gpio_list.h
+++ b/include/gpio_list.h
@@ -7,7 +7,7 @@
{#name, GPIO_##port, (1 << pin), flags, signal},
#define UNIMPLEMENTED(name) \
- {#name, DUMMY_GPIO_BANK, 0, 0, NULL},
+ {#name, DUMMY_GPIO_BANK, 0, GPIO_DEFAULT, NULL},
/* GPIO signal list. */
const struct gpio_info gpio_list[] = {