diff options
author | Caveh Jalali <caveh@chromium.org> | 2021-02-18 01:21:47 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-24 23:52:51 +0000 |
commit | 4ea388ba7a12e4156698ba7ca56909be0a6f69be (patch) | |
tree | 9942fd887942a1866566ff03ccec4ab1c7a69895 | |
parent | 6ed74483103a1773f2d26395f4e145579326a5cb (diff) | |
download | chrome-ec-4ea388ba7a12e4156698ba7ca56909be0a6f69be.tar.gz |
brya: Add FRS and OC GPIOs
This adds the USB FRS and OC control signals to the GPIO expander
located on the NCT 3808 TCPC.
BRANCH=none
BUG=b:173575131
TEST=buildall passes
Change-Id: Id6e29541b266638ed5b11571ae5cdc2598e40f35
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2704032
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | board/brya/gpio.inc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/board/brya/gpio.inc b/board/brya/gpio.inc index c05737184c..3b78d0f7a0 100644 --- a/board/brya/gpio.inc +++ b/board/brya/gpio.inc @@ -28,5 +28,12 @@ */ GPIO(EC_KSO_02_INV, PIN(1, 7), GPIO_OUT_LOW) -IOEX(USB_C0_RT_RST_ODL, EXPIN(IOEX_C0_NCT38XX, 0, 2), GPIO_ODR_LOW) -IOEX(USB_C2_RT_RST_ODL, EXPIN(IOEX_C2_NCT38XX, 0, 2), GPIO_ODR_LOW) +IOEX(USB_C0_RT_RST_ODL, EXPIN(IOEX_C0_NCT38XX, 0, 2), GPIO_ODR_LOW) +IOEX(USB_C0_FRS_EN, EXPIN(IOEX_C0_NCT38XX, 0, 4), GPIO_LOW) +IOEX(USB_C0_OC_ODL, EXPIN(IOEX_C0_NCT38XX, 0, 6), GPIO_ODR_HIGH) +IOEX(NCT_3808_GPIO07_P1, EXPIN(IOEX_C0_NCT38XX, 0, 7), GPIO_LOW) + +IOEX(USB_C2_RT_RST_ODL, EXPIN(IOEX_C2_NCT38XX, 0, 2), GPIO_ODR_LOW) +IOEX(USB_C2_FRS_EN, EXPIN(IOEX_C2_NCT38XX, 0, 4), GPIO_LOW) +IOEX(USB_C1_OC_ODL, EXPIN(IOEX_C2_NCT38XX, 0, 6), GPIO_ODR_HIGH) +IOEX(USB_C2_OC_ODL, EXPIN(IOEX_C2_NCT38XX, 0, 7), GPIO_ODR_HIGH) |