summaryrefslogtreecommitdiff
path: root/board/grunt/gpio.inc
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2018-05-24 11:29:19 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-06-01 17:44:19 -0700
commitf30bb2839f0cd22efe0468680daf66e45a3ce862 (patch)
tree65913ed7628af5291f1f43d74aaf114476f46de8 /board/grunt/gpio.inc
parent31fbb6889e75eb1ebe823a74a9bc95da78b991ad (diff)
downloadchrome-ec-f30bb2839f0cd22efe0468680daf66e45a3ce862.tar.gz
grunt: Board specific battery info
Split battery info between baseboard and board, following the Octopus example. This will allow Grunt and Careena to define their own lists of supported battery types. This also adds CONFIG_BATTERY_REVIVE_DISCONNECT support, and checks the charge/discharge FET status. BUG=b:79704826,b:74018100 BRANCH=none TEST=Grunt still boots ok. Change-Id: I6e82ac5e48f9aabf59b63add253108513f0a6b60 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1072039 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/grunt/gpio.inc')
-rw-r--r--board/grunt/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/grunt/gpio.inc b/board/grunt/gpio.inc
index 4cd840ba02..8f81a05114 100644
--- a/board/grunt/gpio.inc
+++ b/board/grunt/gpio.inc
@@ -35,7 +35,7 @@ GPIO(PCH_WAKE_L, PIN(7, 4), GPIO_OUT_HIGH) /* Wake SOC */
GPIO(PCH_RCIN_L, PIN(0, 2), GPIO_ODR_HIGH) /* Cold Reset to SOC */
GPIO(CCD_MODE_ODL, PIN(E, 3), GPIO_INPUT) /* Case Closed Debug Mode */
GPIO(ENTERING_RW, PIN(E, 1), GPIO_OUT_LOW) /* EC Entering RW */
-GPIO(EC_BATT_PRES_ODL, PIN(E, 5), GPIO_INPUT | GPIO_PULL_UP) /* Battery Present */
+GPIO(EC_BATT_PRES_L, PIN(E, 5), GPIO_INPUT | GPIO_PULL_UP) /* Battery Present */
GPIO(PCH_SYS_PWROK, PIN(D, 6), GPIO_OUT_LOW) /* Power OK to SOC */
GPIO(EC_APU_RST, PIN(E, 4), GPIO_INPUT) /* Reset to SOC */
GPIO(CPU_PROCHOT, PIN(3, 4), GPIO_INPUT | GPIO_SEL_1P8V) /* PROCHOT to SOC */