mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
host: 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: I6a91e6ba88cf2c63826530f6989b6920349da4c5 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/264498 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org> Trybot-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
4b2bc9600d
commit
e369986c6e
@@ -5,18 +5,18 @@
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
GPIO(EC_INT, 0, 0, 0, NULL)
|
||||
GPIO(LID_OPEN, 0, 0, GPIO_INT_BOTH, lid_interrupt)
|
||||
GPIO(POWER_BUTTON_L, 0, 0, GPIO_INT_BOTH, power_button_interrupt)
|
||||
GPIO(WP, 0, 0, 0, NULL)
|
||||
GPIO(ENTERING_RW, 0, 0, 0, NULL)
|
||||
GPIO(AC_PRESENT, 0, 0, GPIO_INT_BOTH, extpower_interrupt)
|
||||
GPIO(PCH_BKLTEN, 0, 0, 0, NULL)
|
||||
GPIO(ENABLE_BACKLIGHT, 0, 0, 0, NULL)
|
||||
GPIO(BUTTON_VOLUME_DOWN_L, 0, 0, GPIO_INT_BOTH, button_interrupt)
|
||||
GPIO(BUTTON_VOLUME_UP, 0, 0, GPIO_INT_BOTH, button_interrupt)
|
||||
GPIO(CHARGE_DONE, 0, 0, GPIO_INT_BOTH, inductive_charging_interrupt)
|
||||
GPIO(EC_INT, 0, 0, 0, NULL)
|
||||
GPIO(WP, 0, 0, 0, NULL)
|
||||
GPIO(ENTERING_RW, 0, 0, 0, NULL)
|
||||
GPIO(PCH_BKLTEN, 0, 0, 0, NULL)
|
||||
GPIO(ENABLE_BACKLIGHT, 0, 0, 0, NULL)
|
||||
|
||||
/* Inductive charging */
|
||||
GPIO(CHARGE_EN, 0, 0, 0, NULL)
|
||||
GPIO(CHARGE_DONE, 0, 0, GPIO_INT_BOTH, inductive_charging_interrupt)
|
||||
GPIO(BASE_CHG_VDD_EN, 0, 0, 0, NULL)
|
||||
|
||||
Reference in New Issue
Block a user