coreboot-kgpe-d16/src/ec
Shelley Chen ebd533065f chromeec: Add function to retrieve usb c charger info
Add google_chromeec_get_usb_pd_power_info(), which will
call the EC_CMD_USB_PD_POWER_INFO host command to retrieve
the current and voltage info of the usb c charger.
Returns power info in watts.

BUG=b:37473486
BRANCH=None
TEST=output debug info to make sure that correct power
     is returned.

Change-Id: Ie14a0a6163e1c2699cb20b4422c8062164d92076
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/21771
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-10-20 22:49:31 +00:00
..
acpi Kconfig: Indent help text 2017-06-07 22:01:34 +02:00
compal/ene932 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
google/chromeec chromeec: Add function to retrieve usb c charger info 2017-10-20 22:49:31 +00:00
hp/kbc1126 ec: add support for KBC1126 in HP laptops 2017-08-11 16:10:52 +00:00
kontron/it8516e device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
lenovo ec/lenovo/h8: Serialize control method _CRS 2017-10-10 11:35:31 +00:00
purism/librem ec/purism/librem: fix battery present rate 2017-09-19 14:11:07 +00:00
quanta ec/quanta/it8518: add missing HID to SIO device 2017-09-19 14:11:26 +00:00
roda/it8518 device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
smsc/mec1308 ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00