diff options
author | Ting Shen <phoenixshen@google.com> | 2020-04-14 15:49:12 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-21 05:45:36 +0000 |
commit | bdf0eb73c307be1287e5b63d737154ca3ec3d5de (patch) | |
tree | 53005944caeb7e1aa03fa172eb7d08d72a10a720 /baseboard | |
parent | e114b4e8e509a4a8eaebb167a2747cfaa200006e (diff) | |
download | chrome-ec-bdf0eb73c307be1287e5b63d737154ca3ec3d5de.tar.gz |
jacuzzi: introduce VARIANT_KUKUI_JACUZZI
move common configs from jacuzzi derivatives into baseboard
BUG=None
TEST=make
BRANCH=kukui
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I5baf8c5bbb6520c324be4d30824b642141eeb331
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2147824
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/kukui/baseboard.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h index 50f89fe27d..a52de298d4 100644 --- a/baseboard/kukui/baseboard.h +++ b/baseboard/kukui/baseboard.h @@ -90,6 +90,24 @@ #define CONFIG_BASE_ATTACHED_SWITCH #endif +/* define this if the board is jacuzzi family */ +#ifdef VARIANT_KUKUI_JACUZZI +#define CONFIG_IO_EXPANDER +#define CONFIG_IO_EXPANDER_IT8801 +#define CONFIG_IO_EXPANDER_PORT_COUNT 1 +#define CONFIG_KEYBOARD_DEBUG +#define CONFIG_KEYBOARD_NOT_RAW +#define CONFIG_KEYBOARD_BOARD_CONFIG +#define CONFIG_KEYBOARD_COL2_INVERTED + +#define CONFIG_GMR_TABLET_MODE +#define GMR_TABLET_MODE_GPIO_L GPIO_TABLET_MODE_L +#define CONFIG_TABLET_MODE_SWITCH + +#define PD_OPERATING_POWER_MW 30000 +#define CONFIG_USB_PD_MAX_SINGLE_SOURCE_CURRENT TYPEC_RP_3A0 +#endif /* VARIANT_KUKUI_JACUZZI */ + /* * Define this flag if board controls dp mux via gpio pins USB_C0_DP_OE_L and * USB_C0_DP_POLARITY. |