diff options
Diffstat (limited to 'baseboard/octopus/baseboard.c')
-rw-r--r-- | baseboard/octopus/baseboard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/baseboard/octopus/baseboard.c b/baseboard/octopus/baseboard.c index b1f8b11fb0..beb2e1754d 100644 --- a/baseboard/octopus/baseboard.c +++ b/baseboard/octopus/baseboard.c @@ -10,7 +10,7 @@ #include "chipset.h" #include "common.h" #include "console.h" -#include "driver/bc12/bq24392.h" +#include "driver/bc12/max14637.h" #include "driver/ppc/nx20p348x.h" #include "gpio.h" #include "hooks.h" @@ -76,16 +76,16 @@ const int usb_port_enable[USB_PORT_COUNT] = { /******************************************************************************/ /* BC 1.2 chip Configuration */ -const struct bq24392_config_t bq24392_config[CONFIG_USB_PD_PORT_COUNT] = { +const struct max14637_config_t max14637_config[CONFIG_USB_PD_PORT_COUNT] = { { .chip_enable_pin = GPIO_USB_C0_BC12_VBUS_ON, .chg_det_pin = GPIO_USB_C0_BC12_CHG_DET_L, - .flags = BQ24392_FLAGS_CHG_DET_ACTIVE_LOW, + .flags = MAX14637_FLAGS_CHG_DET_ACTIVE_LOW, }, { .chip_enable_pin = GPIO_USB_C1_BC12_VBUS_ON, .chg_det_pin = GPIO_USB_C1_BC12_CHG_DET_L, - .flags = BQ24392_FLAGS_CHG_DET_ACTIVE_LOW, + .flags = MAX14637_FLAGS_CHG_DET_ACTIVE_LOW, }, }; |