diff options
author | Poornima Tom <poornima.tom@intel.com> | 2020-11-12 12:24:21 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-01 05:23:48 +0000 |
commit | 66e02bc8d75e192e32280e85fdc4b3f222f52e25 (patch) | |
tree | 3448ea1cb67953f3084dfd6f3de6e389af11788d /baseboard | |
parent | b20627a214e2f7786b5545a19eaa088b5596c444 (diff) | |
download | chrome-ec-66e02bc8d75e192e32280e85fdc4b3f222f52e25.tar.gz |
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 <poornima.tom@intel.com>
Change-Id: I0677519a68013dbc593539b692bad5016b52654f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2531771
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/intelrvp/baseboard.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |