mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 08:31:52 +00:00
it8380dev: Move interrupt enabled gpios to top
All GPIOs with interrupt handlers sholud be together at the top of the gpio.inc file. BUG=none BRANCH=none TEST=make -j buildall Change-Id: Id5847e4ea00e0187453af6a479e10defe08dc0a9 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/264499 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
3594debadf
commit
41748e967f
@@ -5,6 +5,8 @@
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
GPIO(POWER_BUTTON_L, E, 4, GPIO_INT_BOTH | GPIO_PULL_UP, power_button_interrupt)
|
||||
GPIO(LID_OPEN, E, 2, GPIO_INT_BOTH | GPIO_PULL_DOWN, lid_interrupt)
|
||||
GPIO(H_LED0, A, 0, GPIO_ODR_HIGH, NULL)
|
||||
GPIO(H_LED1, A, 1, GPIO_ODR_HIGH, NULL)
|
||||
GPIO(H_LED2, A, 2, GPIO_ODR_HIGH, NULL)
|
||||
@@ -22,8 +24,6 @@ GPIO(L_LED6, I, 6, GPIO_ODR_HIGH, NULL)
|
||||
GPIO(BUSY_LED, J, 0, GPIO_OUT_LOW, NULL)
|
||||
GPIO(GOOD_LED, J, 1, GPIO_OUT_HIGH, NULL)
|
||||
GPIO(FAIL_LED, J, 2, GPIO_OUT_LOW, NULL)
|
||||
GPIO(POWER_BUTTON_L, E, 4, GPIO_INT_BOTH | GPIO_PULL_UP, power_button_interrupt)
|
||||
GPIO(LID_OPEN, E, 2, GPIO_INT_BOTH | GPIO_PULL_DOWN, lid_interrupt)
|
||||
GPIO(PCH_PLTRST_L, E, 3, GPIO_INPUT, NULL)
|
||||
GPIO(PCH_SMI_L, D, 3, GPIO_OUT_HIGH, NULL)
|
||||
GPIO(PCH_SCI_L, D, 4, GPIO_OUT_HIGH, NULL)
|
||||
|
||||
Reference in New Issue
Block a user