coreboot-kgpe-d16/src/ec
Duncan Laurie a802be2910 ec/google/wilco: Add ACPI EC infrastructure
Add the base ACPI support for the Wilco embedded controller, using
ASL 2.0 syntax throughout.

This includes the EC device and its resources, as well as the layout
for the EC RAM and the functions needed to read and write to the EC RAM.

The EC RAM address space is typically read/write, and so the ACPI EC
device expects that a defined Field can be read and/or written.  With
this EC the read and write address spaces are different.  For example,
a read from address zero will return data that is unrelated to what a
write to address zero expects.

This makes using a typical OperationRegion to describe the EC RAM
address space somewhat impracticle, since field definitions would
overlap.  Instead, methods are provided for reading and writing to an
EC RAM offset, and the EC RAM layout is defined as a Package that
describes offset+mask for read or write fields within the EC RAM.

Change-Id: If8cfdf2633db1ccad4306fe877180ba197ee7414
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/29122
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2018-10-31 18:30:29 +00:00
..
acpi src/ec: Remove whitespace before tab 2018-06-04 09:15:51 +00:00
compal/ene932 ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:28 +00:00
google ec/google/wilco: Add ACPI EC infrastructure 2018-10-31 18:30:29 +00:00
hp/kbc1126
kontron/it8516e
lenovo ec/lenovo/pmh7: support 9bit address space 2018-09-14 13:50:34 +00:00
purism/librem
quanta ec/quanta: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:54 +00:00
roda/it8518 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
smsc/mec1308 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
ec.h