diff options
author | Philip Chen <philipchen@google.com> | 2019-06-20 14:06:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-25 08:21:25 +0000 |
commit | 734a3ea667ee4503dd2f8caf89c62fb7dd91f9e7 (patch) | |
tree | bb62710100f2256e6d176da98194e3dd43df1ce7 | |
parent | 494330077071487009cab05809deb96aaf337421 (diff) | |
download | chrome-ec-734a3ea667ee4503dd2f8caf89c62fb7dd91f9e7.tar.gz |
kohaku: Update BC12_CHG_DET pins for rev1
From rev0 to rev1, USB_C0_BC12_CHG_DET_L and USB_C1_BC12_CHG_DET_L
pins move to GPIO60 and GPIO96, respectively.
The change shouldn't break anything in rev0 since these pins
are not really used yet.
BUG=b:135216932
BRANCH=none
TEST=build kohaku
Change-Id: I65ef800970ed014a0c5924dcd627b6ce3600af69
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1670162
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
-rw-r--r-- | board/kohaku/gpio.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/board/kohaku/gpio.inc b/board/kohaku/gpio.inc index dd60ba89b7..5771e6826e 100644 --- a/board/kohaku/gpio.inc +++ b/board/kohaku/gpio.inc @@ -60,8 +60,8 @@ GPIO(EC_INT_L, PIN(7, 0), GPIO_ODR_HIGH) GPIO(USB_C_OC_ODL, PIN(B, 1), GPIO_ODR_HIGH) GPIO(USB_C0_TCPC_RST_ODL, PIN(9, 7), GPIO_ODR_HIGH) GPIO(USB_C1_TCPC_RST_ODL, PIN(3, 2), GPIO_ODR_HIGH) -GPIO(USB_C0_BC12_CHG_DET_L, PIN(D, 6), GPIO_INPUT) -GPIO(USB_C1_BC12_CHG_DET_L, PIN(3, 5), GPIO_INPUT) +GPIO(USB_C0_BC12_CHG_DET_L, PIN(6, 0), GPIO_INPUT) +GPIO(USB_C1_BC12_CHG_DET_L, PIN(9, 6), GPIO_INPUT) GPIO(USB_C0_BC12_VBUS_ON, PIN(9, 4), GPIO_OUT_LOW) GPIO(USB_C1_BC12_VBUS_ON, PIN(C, 6), GPIO_OUT_LOW) @@ -115,7 +115,6 @@ GPIO(TP57, PIN(8, 1), GPIO_INPUT | GPIO_PULL_UP) GPIO(TP55, PIN(7, 3), GPIO_INPUT | GPIO_PULL_UP) GPIO(TP59, PIN(B, 0), GPIO_INPUT | GPIO_PULL_UP) GPIO(TP64, PIN(D, 3), GPIO_INPUT | GPIO_PULL_UP) -GPIO(TP60, PIN(6, 0), GPIO_INPUT | GPIO_PULL_UP) /* Keyboard pins */ #define GPIO_KB_INPUT (GPIO_INPUT | GPIO_PULL_UP) |