Skip to content

Commit

Permalink
addw3, oryp11, serw13: Set VBATT_BOOST# to input
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Apr 3, 2023
1 parent 0f9d722 commit 847c769
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/board/system76/addw3/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/board/system76/oryp11/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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#
Expand Down
2 changes: 1 addition & 1 deletion src/board/system76/serw13/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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#
Expand Down

0 comments on commit 847c769

Please sign in to comment.