diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2021-10-28 13:52:12 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-03 10:10:58 +0000 |
commit | cf24279a27b5196f1cf9052d369cacef3ffee730 (patch) | |
tree | ee3ba82edc6365db14cb9dcadaac919f25177c08 | |
parent | dbf6eb07095e080246f093a3733b48f9fd3e4d4b (diff) | |
download | chrome-ec-cf24279a27b5196f1cf9052d369cacef3ffee730.tar.gz |
Dewatt: support 65w adapter
Modify max power and max current to support 65w adapter.
BUG=b:204386852
BRANCH=none
TEST="make BOARD" pass for board dewatt, guybrush and nipperkin
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ic18ab3021e39913f2a69550fac269e91d3e83508
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3247739
Reviewed-by: Rob Barnes <robbarnes@google.com>
-rw-r--r-- | baseboard/guybrush/baseboard.h | 6 | ||||
-rw-r--r-- | board/dewatt/board.h | 6 | ||||
-rw-r--r-- | board/guybrush/board.h | 6 | ||||
-rw-r--r-- | board/nipperkin/board.h | 5 |
4 files changed, 17 insertions, 6 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h index 36c30af951..6960524822 100644 --- a/baseboard/guybrush/baseboard.h +++ b/baseboard/guybrush/baseboard.h @@ -222,12 +222,6 @@ #define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */ #define PD_POWER_SUPPLY_TURN_OFF_DELAY 30000 /* us */ -#define PD_OPERATING_POWER_MW 15000 -#define PD_MAX_CURRENT_MA 5000 -#define PD_MAX_VOLTAGE_MV 20000 -/* Max Power = 100 W */ -#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) - /* USB-A config */ #define USB_PORT_COUNT USBA_PORT_COUNT #define CONFIG_USB_PORT_POWER_SMART diff --git a/board/dewatt/board.h b/board/dewatt/board.h index 5ebcce7cef..fa04e1bd89 100644 --- a/board/dewatt/board.h +++ b/board/dewatt/board.h @@ -38,6 +38,12 @@ #define CONFIG_USB_MUX_ANX7451 #define CONFIG_USBC_RETIMER_ANX7451 +#define PD_OPERATING_POWER_MW 15000 +#define PD_MAX_CURRENT_MA 3250 +#define PD_MAX_VOLTAGE_MV 20000 +/* Max Power = 65 W */ +#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) + /* USB Type A Features */ /* BC 1.2 */ diff --git a/board/guybrush/board.h b/board/guybrush/board.h index 39adbc2ec7..f3900adc43 100644 --- a/board/guybrush/board.h +++ b/board/guybrush/board.h @@ -37,6 +37,12 @@ #define CONFIG_USB_MUX_ANX7451 #define CONFIG_USBC_RETIMER_ANX7451 +#define PD_OPERATING_POWER_MW 15000 +#define PD_MAX_CURRENT_MA 5000 +#define PD_MAX_VOLTAGE_MV 20000 +/* Max Power = 100 W */ +#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) + /* USB Type A Features */ /* BC 1.2 */ diff --git a/board/nipperkin/board.h b/board/nipperkin/board.h index 86d0ef9623..f9495857d5 100644 --- a/board/nipperkin/board.h +++ b/board/nipperkin/board.h @@ -20,6 +20,11 @@ #define CONFIG_CMD_BUTTON /* USB Type C and USB PD defines */ +#define PD_OPERATING_POWER_MW 15000 +#define PD_MAX_CURRENT_MA 5000 +#define PD_MAX_VOLTAGE_MV 20000 +/* Max Power = 100 W */ +#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000) /* USB Type A Features */ |