coreboot-kgpe-d16/src/ec/google
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
..
chromeec google/chromeec: Revise parameters of EC USB PD API call 2020-04-20 06:47:16 +00:00
common src/ec: Use SPDX for GPL-2.0-only files 2020-04-05 17:43:16 +00:00
wilco Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00