diff options
Diffstat (limited to 'board')
-rw-r--r-- | board/dewatt/board.c | 4 | ||||
-rw-r--r-- | board/guybrush/board.c | 4 | ||||
-rw-r--r-- | board/nipperkin/board.c | 5 |
3 files changed, 9 insertions, 4 deletions
diff --git a/board/dewatt/board.c b/board/dewatt/board.c index c351619f9c..54af97b342 100644 --- a/board/dewatt/board.c +++ b/board/dewatt/board.c @@ -242,10 +242,10 @@ __override int board_c1_ps8818_mux_set(const struct usb_mux *me, return rv; /* Enable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 1); + ioex_set_level(IOEX_USB_C1_IN_HPD, 1); } else { /* Disable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 0); + ioex_set_level(IOEX_USB_C1_IN_HPD, 0); } return rv; diff --git a/board/guybrush/board.c b/board/guybrush/board.c index 75fb5a8607..922be3ca21 100644 --- a/board/guybrush/board.c +++ b/board/guybrush/board.c @@ -288,10 +288,10 @@ __override int board_c1_ps8818_mux_set(const struct usb_mux *me, return rv; /* Enable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 1); + ioex_set_level(IOEX_USB_C1_IN_HPD, 1); } else { /* Disable HPD on the DB */ - gpio_set_level(GPIO_USB_C1_HPD, 0); + ioex_set_level(IOEX_USB_C1_IN_HPD, 0); } return rv; diff --git a/board/nipperkin/board.c b/board/nipperkin/board.c index c65e0f5e5f..3fe31fdfd8 100644 --- a/board/nipperkin/board.c +++ b/board/nipperkin/board.c @@ -125,6 +125,11 @@ __override int board_c1_ps8818_mux_set(const struct usb_mux *me, if (rv) return rv; + /* Enable HPD on the DB */ + ioex_set_level(IOEX_USB_C1_IN_HPD, 1); + } else { + /* Disable HPD on the DB */ + ioex_set_level(IOEX_USB_C1_IN_HPD, 0); } return rv; |