mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 10:00:51 +00:00
snow: Move interrupt enabled gpios to top
All GPIOs with interrupt handlers should be together at the top of the gpio.inc file. BUG=none BRANCH=none TEST=make -j buildall Change-Id: I6810a793cc16c38c8dde86f9cbec57a3f82aebfc Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/264504 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Alec Berg <alecaberg@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Trybot-Ready: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
50bea9d35f
commit
aa98b2dca5
@@ -12,7 +12,7 @@ GPIO(SOC1V8_XPSHOLD, A, 3, GPIO_INT_BOTH, power_signal_interrupt) /* App Pr
|
||||
GPIO(CHARGER_INT_L, C, 4, GPIO_INT_FALLING, pmu_irq_handler)
|
||||
GPIO(LID_OPEN, C, 13, GPIO_INT_BOTH, lid_interrupt) /* LID switch detection */
|
||||
GPIO(SUSPEND_L, A, 7, INT_BOTH_FLOATING, power_signal_interrupt) /* AP suspend/resume state */
|
||||
GPIO(WP_L, B, 4, GPIO_INPUT, NULL) /* Write protection pin (low active) */
|
||||
GPIO(SPI1_NSS, A, 4, GPIO_DEFAULT, spi_event)
|
||||
|
||||
/* Keyboard inputs */
|
||||
GPIO(KB_IN00, C, 8, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)
|
||||
@@ -24,9 +24,10 @@ GPIO(KB_IN05, C, 14, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)
|
||||
GPIO(KB_IN06, C, 15, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)
|
||||
GPIO(KB_IN07, D, 2, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)
|
||||
|
||||
|
||||
/* Other inputs */
|
||||
GPIO(AC_PWRBTN_L, A, 0, GPIO_INT_BOTH, NULL)
|
||||
GPIO(SPI1_NSS, A, 4, GPIO_DEFAULT, spi_event)
|
||||
GPIO(WP_L, B, 4, GPIO_INPUT, NULL) /* Write protection pin (low active) */
|
||||
|
||||
/*
|
||||
* I2C pins should be configured as inputs until I2C module is
|
||||
|
||||
Reference in New Issue
Block a user