diff options
author | Karthikeyan Ramasubramanian <kramasub@chromium.org> | 2018-11-14 13:51:02 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-29 04:31:51 -0800 |
commit | 28256095e5d71c56db48c79f4d66935f14e98fe0 (patch) | |
tree | 7076b170342b4ec05cb6a32cc7b441a5a1dcb7ac /board/meep | |
parent | 3c6f745544400dc2c475fa775117bafbe803441d (diff) | |
download | chrome-ec-28256095e5d71c56db48c79f4d66935f14e98fe0.tar.gz |
board/meep/gpio: Add missing GPIO configuration for Board Id 1
Set the unused pins as input with an internal pull-up if there is no
external pull-up/pull-down. This helps save some power.
BRANCH=None
BUG=b:110192175
TEST=make -j buildall && Bootup to chromeos. Also verified that power
stayed the same or slightly lower(5.51mW on PP3300_ec_mw to 5.51 mW over
10 sec average on Meep).
Change-Id: Ibebaf5362424fcb3d5d8e4c0e3de08d24fae6e28
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1336731
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/meep')
-rw-r--r-- | board/meep/gpio.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/board/meep/gpio.inc b/board/meep/gpio.inc index c61e4e807b..a642f47fc4 100644 --- a/board/meep/gpio.inc +++ b/board/meep/gpio.inc @@ -153,12 +153,22 @@ GPIO(CCD_MODE_EC_L, PIN(E, 3), GPIO_INPUT) GPIO(TRACKPAD_INT_1V8_ODL, PIN(9, 3), GPIO_INPUT) GPIO(EC_GPIO_03, PIN(0, 3), GPIO_INPUT) /* TP only */ +/* Unused pins */ +GPIO(CHARGER_PMON, PIN(4, 2), GPIO_INPUT) +GPIO(CHARGER_IADP, PIN(4, 3), GPIO_INPUT) +GPIO(EC_GPIO57, PIN(5, 7), GPIO_INPUT | GPIO_PULL_UP) /* TP Only */ +GPIO(EC_WOV_DMIC_DATA, PIN(9, 7), GPIO_INPUT | GPIO_PULL_UP) +GPIO(EC_I2S_SFRM, PIN(A, 5), GPIO_INPUT | GPIO_SEL_1P8V) +GPIO(EC_I2S_SCLK, PIN(A, 7), GPIO_INPUT | GPIO_SEL_1P8V) +GPIO(EC_I2C_TX_PCH_RX, PIN(B, 0), GPIO_INPUT | GPIO_SEL_1P8V) + /* Keyboard pins */ ALTERNATE(PIN_MASK(3, 0x03), 0, MODULE_KEYBOARD_SCAN, GPIO_INPUT) /* KSI_00-01 */ ALTERNATE(PIN_MASK(2, 0xFC), 0, MODULE_KEYBOARD_SCAN, GPIO_INPUT) /* KSI_02-07 */ ALTERNATE(PIN_MASK(2, 0x03), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_00-01 */ ALTERNATE(PIN_MASK(1, 0x7F), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_03-09 */ -ALTERNATE(PIN_MASK(0, 0xE0), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_10-12 */ +ALTERNATE(PIN_MASK(0, 0xF0), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_10-13 */ +ALTERNATE(PIN_MASK(8, 0x04), 0, MODULE_KEYBOARD_SCAN, GPIO_ODR_HIGH) /* KSO_14 */ GPIO(KBD_KSO2, PIN(1, 7), GPIO_OUT_LOW) /* EC_KSO_02_INV */ /* Alternate functions GPIO definitions */ |