diff options
author | james_chao <james_chao@asus.com> | 2015-12-15 12:41:59 +0800 |
---|---|---|
committer | ChromeOS bot <3su6n15k.default@developer.gserviceaccount.com> | 2015-12-16 18:05:17 +0000 |
commit | e7a39fcf77e7cf0c917f5076c1858fafc1ccf363 (patch) | |
tree | 71c5c8f56ce07a5ac5ca88a9344cd7f15f97e166 | |
parent | 3333020bb2794e465cc0167547d9988de87f139f (diff) | |
download | chrome-ec-e7a39fcf77e7cf0c917f5076c1858fafc1ccf363.tar.gz |
Terra: update gpio table for adc pins
Terra has two ADC pin:
1.gpio56 EC_TEMP_SENSOR_1
2.gpio60 BC_PMON
Init ADC ports to avoid floating state due to thermistors.
BUG=None
BRANCH=firmware-strago-7287.B
TEST=make buildall -j
Change-Id: Ib297227236c8f29cce8e77307731de204f3dcbce
Signed-off-by: james_chao <james_chao@asus.com>
Reviewed-on: https://chromium-review.googlesource.com/318105
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/terra/gpio.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/terra/gpio.inc b/board/terra/gpio.inc index 8909e9f130..eb8d7d956e 100644 --- a/board/terra/gpio.inc +++ b/board/terra/gpio.inc @@ -48,7 +48,9 @@ GPIO(PCH_SUS_STAT_L, PIN(51), GPIO_INT_FALLING) /* Signal to inf GPIO(NC_GPIO52, PIN(52), GPIO_INPUT | GPIO_PULL_UP) /* NC */ GPIO(TRACKPAD_PWREN, PIN(53), GPIO_OUT_HIGH) /* Enable power for Track Pad */ GPIO(USB_OC0_L, PIN(55), GPIO_INT_FALLING) /* Over current signal of the BC1.2 charger to EC */ +GPIO(ADC_TEMP_SENSOR_1, PIN(56), GPIO_INPUT | GPIO_PULL_UP) GPIO(NC_GPIO57, PIN(57), GPIO_INPUT | GPIO_PULL_UP) /* NC */ +GPIO(ADC_BC_PMON, PIN(60), GPIO_INPUT | GPIO_PULL_UP) GPIO(NC_GPIO61, PIN(61), GPIO_INPUT | GPIO_PULL_UP) /* NC */ GPIO(NC_GPIO62, PIN(62), GPIO_INPUT | GPIO_PULL_UP) /* NC */ GPIO(EC_HIB_L, PIN(64), GPIO_OUT_LOW) /* Set to high before Pseduo G3 */ |