coreboot/src/ec/google/chromeec
Duncan Laurie 7378a1792a ec/google/chromeec: Add support for EC device events
Add support for the new EC device event interface which is used to
report events from devices that are connected behind the EC.

This can be used to differentiate wake sources from the EC in the case
that the EC has the wake pins from various devices.

This can be used in case the AP is unable to directly wake from the
device itself, for example when using the Deep S3 state on Intel
platforms only a few pins can directly wake the AP.

BUG=b:30624430
TEST=build google/* boards that use chrome EC.  Feature is used and
tested further in a subsequent commit.

Change-Id: I5126c6d6ffb6b0ef6e8db8dcd5aec62db925a371
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/20426
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-07-01 02:48:50 +00:00
..
acpi src/ec: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:49:22 +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 ec/google/chromeec: Add support for EC device events 2017-07-01 02:48:50 +00:00
ec.h ec/google/chromeec: Add support for EC device events 2017-07-01 02:48:50 +00:00
ec_commands.h ec/google/chromeec: Sync header with Chromium EC codebase 2017-07-01 02:47:59 +00:00
ec_i2c.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01: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 spi: Pass pointer to spi_slave structure in spi_setup_slave 2016-12-05 03:28:06 +01:00
Kconfig vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
Makefile.inc google/chromeec: Add common infrastructure for boot-mode switches 2016-11-18 04:01:59 +01:00
smihandler.c ec/google/chromeec: Add support for EC device events 2017-07-01 02:48:50 +00:00
smm.h ec/google/chromeec: Add support for EC device events 2017-07-01 02:48:50 +00:00
switches.c vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02: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