diff options
author | amber.chen <amber.chen@lcfc.corp-partner.google.com> | 2020-11-19 14:54:07 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-02 05:45:44 +0000 |
commit | 6a3a709b7c4df72732f066aad1d57691d8e79fe7 (patch) | |
tree | aad77a0f4725dd500fc6257cee3f6605fdeb7862 /board/lindar/board.h | |
parent | f4cf398fbc6c800b6a7624742ce73129c70b94ef (diff) | |
download | chrome-ec-6a3a709b7c4df72732f066aad1d57691d8e79fe7.tar.gz |
lillipup: fix c1 charging and usb function
1.fix c1 charging and usb function
2.remove USB4 and cleaning up the TCPC,PPC,and USB mux configuration
BUG=b:173093980
BRANCH=firmware-volteer-13521.B
TEST=make buildall, test c1 charging and usb function work normally
Signed-off-by: amber.chen <amber.chen@lcfc.corp-partner.google.com>
Change-Id: Ic49d6dfee0e977885e5098dd9d71b89cf19410f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2549000
Tested-by: jerry2.huang <jerry2.huang@lcfc.corp-partner.google.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/lindar/board.h')
-rw-r--r-- | board/lindar/board.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/board/lindar/board.h b/board/lindar/board.h index 752ed27782..8cb5101318 100644 --- a/board/lindar/board.h +++ b/board/lindar/board.h @@ -59,8 +59,9 @@ #define PD_MAX_POWER_MW 60000 #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 -/* Enabling USB4 mode */ -#define USBC_PORT_C1_BB_RETIMER_I2C_ADDR 0x40 + +#undef CONFIG_USB_PD_TCPC_RUNTIME_CONFIG +#undef CONFIG_USB_MUX_RUNTIME_CONFIG /* USB Type A Features */ @@ -78,6 +79,10 @@ #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 +/* Retimer */ +#undef CONFIG_USBC_RETIMER_INTEL_BB +#undef CONFIG_USBC_RETIMER_INTEL_BB_RUNTIME_CONFIG + /* * Macros for GPIO signals used in common code that don't match the * schematic names. Signal names in gpio.inc match the schematic and are @@ -116,7 +121,6 @@ #define I2C_PORT_LIGHTBAR NPCX_I2C_PORT3_0 #define I2C_PORT_POWER NPCX_I2C_PORT5_0 #define I2C_PORT_EEPROM NPCX_I2C_PORT7_0 -#define I2C_PORT_USB_1_MIX NPCX_I2C_COUNT #define I2C_PORT_BATTERY I2C_PORT_POWER #define I2C_PORT_CHARGER I2C_PORT_EEPROM |