52f18df1e3
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> |
||
---|---|---|
.. | ||
51nb/npce985la0dx | ||
acpi | ||
compal/ene932 | ||
hp/kbc1126 | ||
kontron | ||
lenovo | ||
purism/librem | ||
quanta | ||
roda/it8518 | ||
smsc/mec1308 | ||
ec.h |