From 847c769451889f2e627060816c2ccbe1589f5cfd Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 31 Mar 2023 14:01:42 -0600 Subject: [PATCH] addw3, oryp11, serw13: Set VBATT_BOOST# to input --- src/board/system76/addw3/gpio.c | 2 +- src/board/system76/oryp11/gpio.c | 2 +- src/board/system76/serw13/gpio.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/board/system76/addw3/gpio.c b/src/board/system76/addw3/gpio.c index a5ab1e3f3..02196763b 100644 --- a/src/board/system76/addw3/gpio.c +++ b/src/board/system76/addw3/gpio.c @@ -247,7 +247,7 @@ void gpio_init() { // VA_EC_EN GPCRJ4 = GPIO_OUT; // VBATT_BOOST# - GPCRJ5 = GPIO_OUT; + GPCRJ5 = GPIO_IN; // EC_GPIO GPCRJ6 = GPIO_IN; // CC_EN diff --git a/src/board/system76/oryp11/gpio.c b/src/board/system76/oryp11/gpio.c index f66e608ed..daa436526 100644 --- a/src/board/system76/oryp11/gpio.c +++ b/src/board/system76/oryp11/gpio.c @@ -250,7 +250,7 @@ void gpio_init() { // VA_EC_EN GPCRJ4 = GPIO_OUT; // VBATT_BOOST# - GPCRJ5 = GPIO_OUT; + GPCRJ5 = GPIO_IN; // EC_GPIO GPCRJ6 = GPIO_IN; // PERKB_DET# diff --git a/src/board/system76/serw13/gpio.c b/src/board/system76/serw13/gpio.c index cde29e4c2..57d1d09b6 100644 --- a/src/board/system76/serw13/gpio.c +++ b/src/board/system76/serw13/gpio.c @@ -241,7 +241,7 @@ void gpio_init(void) { // VA_EC_EN GPCRJ4 = GPIO_OUT; // VBATT_BOOST# - GPCRJ5 = GPIO_OUT; + GPCRJ5 = GPIO_IN; // EC_GPIO GPCRJ6 = GPIO_OUT | GPIO_UP; // PERKB_DET#