diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2021-08-24 20:26:35 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-25 08:36:47 +0000 |
commit | c97f38658cf4ef3c541abcf4118ba511da6b35c7 (patch) | |
tree | 7b1a71981bf1dd7960a0df6b05fc172081e2b696 | |
parent | be2500881dfbc6ec77885599a01f4f31b32f6239 (diff) | |
download | chrome-ec-c97f38658cf4ef3c541abcf4118ba511da6b35c7.tar.gz |
brask: add the barrel jack support
This patch adds the barrel jack support.
BUG=b:191637086
BRANCH=None
TEST=make BOARD=brask
Change-Id: Iea2df9c6a478b45cfc4a56e11f1aeb6d6b2adba2
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114501
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Boris Mittelberg <bmbm@google.com>
-rw-r--r-- | baseboard/brask/baseboard.h | 3 | ||||
-rw-r--r-- | board/brask/board.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/baseboard/brask/baseboard.h b/baseboard/brask/baseboard.h index e2abf1adee..e285482c61 100644 --- a/baseboard/brask/baseboard.h +++ b/baseboard/brask/baseboard.h @@ -58,6 +58,9 @@ #define CONFIG_USB_CHARGER #define CONFIG_BC12_DETECT_PI3USB9201 +/* Support Barrel Jack */ +#undef CONFIG_DEDICATED_CHARGE_PORT_COUNT +#define CONFIG_DEDICATED_CHARGE_PORT_COUNT 1 /* * Don't allow the system to boot to S0 when the battery is low and unable to * communicate on locked systems (which haven't PD negotiated) diff --git a/board/brask/board.h b/board/brask/board.h index 3953fab629..433cf27ad7 100644 --- a/board/brask/board.h +++ b/board/brask/board.h @@ -15,6 +15,9 @@ #define CONFIG_MP2964 +/* Barrel Jack */ +#define DEDICATED_CHARGE_PORT 3 + /* USB Type A Features */ #define USB_PORT_COUNT 1 #define CONFIG_USB_PORT_POWER_DUMB |