diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2022-06-09 10:01:41 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 23:40:06 +0000 |
commit | bd8cdbe80c41895a39591a3cb79d5a7f7f9d19fb (patch) | |
tree | 12d6123bbadf62111fb95a46088efbc05667f9db /board/agah/gpio.inc | |
parent | 122ce784c72a2c623dd9615eda5d2ff6a0fe2c94 (diff) | |
download | chrome-ec-bd8cdbe80c41895a39591a3cb79d5a7f7f9d19fb.tar.gz |
Agah: Enable Nvidia GPU D-Notify driver
This patch enables Nvidia GPU D-Notify driver for Agah.
BUG=b:216485035, b:236674641
BRANCH=None
TEST=On Agah, plug & unplug BJ & USB-C and verify expected modes
(nvdc, nvdc_chrg, bypass, bypass_chrg, bat) are selected.
TEST=On Agah, plug & unplug BJ & USB-C and verify expected D-levels
are selected.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Change-Id: I17b60e6054c91c60a7c1931e10a738607951055c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3704268
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'board/agah/gpio.inc')
-rw-r--r-- | board/agah/gpio.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/agah/gpio.inc b/board/agah/gpio.inc index b708231cc4..7f38c87057 100644 --- a/board/agah/gpio.inc +++ b/board/agah/gpio.inc @@ -67,8 +67,13 @@ GPIO(VCCST_PWRGD_OD, PIN(A, 4), GPIO_ODR_LOW) GPIO(EN_USB_A_LOW_POWER, PIN(9, 3), GPIO_OUT_LOW) GPIO(PG_PP3300_S5_EC_SEQ_OD, PIN(B, 5), GPIO_OUT_LOW) GPIO(USB_C2_FRS_EN, PIN(D, 4), GPIO_OUT_LOW) +GPIO(NVIDIA_GPU_ACOFF_ODL, PIN(9, 5), GPIO_ODR_HIGH) -/* Barreljack */ +/* + * Barrel-jack adapter enable switch. When starting up on a depleted battery, + * we'll be powered by either BJ or USB-C but not both. The EC will detect BJ + * or USBC and disable the other ports. + */ GPIO(EN_PPVAR_BJ_ADP_L, PIN(A, 2), GPIO_OUT_LOW) /* @@ -122,7 +127,6 @@ UNUSED(PIN(0, 2)) /* GPIO02 */ UNUSED(PIN(6, 6)) /* GPIO66 */ UNUSED(PIN(5, 7)) /* GPIO57/SER_IRQ/ESPI_ALERT_L */ UNUSED(PIN(8, 1)) /* GPIO81 */ -UNUSED(PIN(9, 5)) /* GPIO95 */ UNUSED(PIN(7, 3)) /* GPIO73 */ UNUSED(PIN(5, 0)) /* GPIO50 */ UNUSED(PIN(6, 0)) /* GPIO60 */ |