coreboot/src/ec/google/chromeec
Daisuke Nojiri 93fd8fa40f chromeec: Add command to override charger limit
This patch adds EC_CMD_OVERRIDE_DEDICATED_CHARGER_LIMIT, which
overrides the max input current and voltage when a barrel jack
adapter supplies power.

BUG=b:64442692
BRANCH=none
TEST=Boot Fizz. Use chgsup console command to verify the max
current and voltage are set as expected.

Change-Id: I8c6fc54e519ce13e3db82ee2cecaa96c6eb42d8a
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://review.coreboot.org/22624
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-12-08 17:14:30 +00:00
..
acpi chromeec: Notify CREC device of wakeup events 2017-11-30 01:52:53 +00:00
chip.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
crosec_proto.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec.c chromeec: Add command to override charger limit 2017-12-08 17:14:30 +00:00
ec.h chromeec: Add command to override charger limit 2017-12-08 17:14:30 +00:00
ec_boardid.c boardid: Minor clean up and standardization 2017-12-07 01:18:25 +00:00
ec_commands.h chromeec: Add command to override charger limit 2017-12-08 17:14:30 +00:00
ec_i2c.c include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
ec_lpc.c src/ec: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:49:22 +00:00
ec_mec.c ec/google/chromeec/ec_lpc: Declare used IO ports as a resource 2016-05-06 18:59:00 +02:00
ec_message.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ec_spi.c Use stopwatch_wait_until_expired where applicable 2017-09-26 16:53:28 +00:00
Kconfig chromeec: Provide helper routine to read boardid from Chrome EC 2017-09-26 13:38:44 +00:00
Makefile.inc chromeec: Provide helper routine to read boardid from Chrome EC 2017-09-26 13:38:44 +00:00
smihandler.c chromeec: Change the API for hostevent/wake masks to handle 64-bit 2017-11-22 19:10:26 +00:00
smm.h chromeec: Change the API for hostevent/wake masks to handle 64-bit 2017-11-22 19:10:26 +00:00
switches.c chromeec: Change the API for hostevent/wake masks to handle 64-bit 2017-11-22 19:10:26 +00:00
vboot_storage.c google/chromeec: implement vboot_(save|retrieve)_hash API 2016-02-04 17:34:58 +01:00
vstore.c google/chromeec: Add temporary storage interface 2016-02-04 17:21:04 +01:00