mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 01:21:49 +00:00
Pinky: Pull up AC_PRESENT
We switched to an internal pullup in rev2 to conserve power. BRANCH=None BUG=None TEST=AC adaptor works, "gpioget AC_PRESENT" Change-Id: Idcf78d2632b9a43862539e45167173c175ac2aaa Signed-off-by: Alexandru M Stan <amstan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/222593 Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Chris Zhong <zyw@rock-chips.com> Tested-by: Chris Zhong <zyw@rock-chips.com>
This commit is contained in:
committed by
chrome-internal-fetch
parent
6713fa2d38
commit
6f97b22ce7
@@ -7,11 +7,11 @@
|
||||
|
||||
/* Inputs with interrupt handlers are first for efficiency */
|
||||
GPIO(POWER_BUTTON_L, B, 5, GPIO_INT_BOTH, power_button_interrupt)
|
||||
GPIO(SOC_POWER_GOOD, A, 3, GPIO_INT_BOTH , power_signal_interrupt)
|
||||
GPIO(SOC_POWER_GOOD, A, 3, GPIO_INT_BOTH, power_signal_interrupt)
|
||||
GPIO(LID_OPEN, C, 13, GPIO_INT_BOTH, lid_interrupt)
|
||||
GPIO(SUSPEND_L, C, 7, GPIO_INT_BOTH, power_signal_interrupt)
|
||||
GPIO(SPI1_NSS, A, 4, GPIO_INT_BOTH, spi_event)
|
||||
GPIO(AC_PRESENT, A, 0, GPIO_INT_BOTH, extpower_interrupt)
|
||||
GPIO(AC_PRESENT, A, 0, GPIO_INT_BOTH | GPIO_PULL_UP, extpower_interrupt)
|
||||
|
||||
/* Keyboard inputs */
|
||||
GPIO(KB_IN00, C, 8, GPIO_KB_INPUT, keyboard_raw_gpio_interrupt)
|
||||
|
||||
Reference in New Issue
Block a user