summaryrefslogtreecommitdiff
path: root/board/wheelie
diff options
context:
space:
mode:
authorxiong.huang <xiong.huang@bitland.corp-partner.google.com>2020-06-09 15:59:32 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-11 05:57:27 +0000
commit2dd31c0c7e4f23233830ceb09724896cfe50541c (patch)
tree7b4c66d1ac6b99f2dcf8e1dffee2485a9add4ed0 /board/wheelie
parent0d11e89afe3ac74dbdc0a77377f5a1b6a2dc760c (diff)
downloadchrome-ec-2dd31c0c7e4f23233830ceb09724896cfe50541c.tar.gz
boten: remove DB type-C port and peripheral chips
Remove chips: Charge chip - SM5803 TCPC and USB mux chip - ANX7447 USB retimer chip - TUSB544 BC1.2 chip - PI3USB9201 BUG=b:157626290, b:158023819 BRANCH=none TEST=make buildall -j Signed-off-by: xiong.huang <xiong.huang@bitland.corp-partner.google.com> Change-Id: Iac30f683774368b2b5706c5f804caf549a54139a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2235238 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/wheelie')
-rw-r--r--board/wheelie/board.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/wheelie/board.h b/board/wheelie/board.h
index 91054cd6fd..fbeb23f576 100644
--- a/board/wheelie/board.h
+++ b/board/wheelie/board.h
@@ -27,6 +27,7 @@
#define CONFIG_USB_PD_VBUS_DETECT_CHARGER
#define CONFIG_USB_PD_5V_CHARGER_CTRL
#define CONFIG_CHARGER_OTG
+#undef CONFIG_CHARGER_SINGLE_CHIP
/* LED */
#define CONFIG_LED_PWM_COUNT 1
@@ -79,6 +80,12 @@
#include "gpio_signal.h"
#include "registers.h"
+enum chg_id {
+ CHARGER_PRIMARY,
+ CHARGER_SECONDARY,
+ CHARGER_NUM,
+};
+
enum pwm_channel {
PWM_CH_KBLIGHT,
PWM_CH_LED_RED,