coreboot-kgpe-d16/src/ec
Gaggery Tsai 52f18df1e3 google/chromeec: Revise parameters of EC USB PD API call
This patch adds voltage and curent parameters in
google_chromeec_get_usb_pd_power_info and remove power parameter. Caller could
use the voltage and current information to calculate charger power rating.
The reason for this change is, some applications need the voltage information
to calculate correct system power eg PsysPmax.

BUG=b:151972149
TEST=emerge-puff coreboot; emerge-fizz coreboot

Change-Id: I11efe6f45f2f929fcb2763d192268e677d7426cb
Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39849
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
2020-04-20 06:47:16 +00:00
..
51nb/npce985la0dx ec/51nb: add support for NPCE985LA0DX EC 2020-03-16 14:41:57 +00:00
acpi src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
compal/ene932 src/ec: Add missing "set_resources = noop_set_resources" 2020-04-10 12:00:11 +00:00
google google/chromeec: Revise parameters of EC USB PD API call 2020-04-20 06:47:16 +00:00
hp/kbc1126 src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
kontron src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
lenovo src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
purism/librem src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
quanta src/ec: Add missing "set_resources = noop_set_resources" 2020-04-10 12:00:11 +00:00
roda/it8518 src/ec: Add missing "set_resources = noop_set_resources" 2020-04-10 12:00:11 +00:00
smsc/mec1308 src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
ec.h src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00