From 66e02bc8d75e192e32280e85fdc4b3f222f52e25 Mon Sep 17 00:00:00 2001 From: Poornima Tom Date: Thu, 12 Nov 2020 12:24:21 +0530 Subject: ADLRVP:Support for 100w typeC power adapter ADL SOC has a TDP of 45W and the RVP can support up to 200W power.Hence, increased the power support to 100W. BRANCH=None BUG=b:173081793 TEST=use chgsup command and list charger type negotiated values. Tested below on ADL: When Typec Charger connected to Port3: > chgsup port=3, type=0, cur=3000mA, vtg=20000mV, lsm=1 when TBT dock connected to Port1: > chgsup port=1, type=0, cur=4500mA, vtg=20000mV, lsm=1 when AC charger connected: > chgsup port=4, type=3, cur=5263mA, vtg=19000mV, lsm=0 Signed-off-by: Poornima Tom Change-Id: I0677519a68013dbc593539b692bad5016b52654f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2531771 Reviewed-by: Vijay P Hiremath Reviewed-by: Keith Short --- baseboard/intelrvp/baseboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'baseboard/intelrvp/baseboard.h') diff --git a/baseboard/intelrvp/baseboard.h b/baseboard/intelrvp/baseboard.h index 8ed8600237..2db5e43fb8 100644 --- a/baseboard/intelrvp/baseboard.h +++ b/baseboard/intelrvp/baseboard.h @@ -206,8 +206,8 @@ enum temp_sensor_id { /* Define typical operating power */ #define PD_OPERATING_POWER_MW 15000 -#define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 +#define PD_MAX_CURRENT_MA ((PD_MAX_POWER_MW/PD_MAX_VOLTAGE_MV) * 1000) #define DC_JACK_MAX_VOLTAGE_MV 19000 /* TCPC gpios */ -- cgit v1.2.1