aboutsummaryrefslogtreecommitdiff
path: root/src/ec/compal/ene932/documentation.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/compal/ene932/documentation.txt')
-rw-r--r--src/ec/compal/ene932/documentation.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ec/compal/ene932/documentation.txt b/src/ec/compal/ene932/documentation.txt
new file mode 100644
index 0000000000..eeb801a73f
--- /dev/null
+++ b/src/ec/compal/ene932/documentation.txt
@@ -0,0 +1,23 @@
+
+Accessing the EC space
+======================
+
+The ACPI implementation uses the standard I/O ports 0x62 and 0x66 to access the
+EC functionality. Accesses to these ports must be directed to the LPC bus to
+which the EC is connected.
+
+
+Interfacing with the ASL files
+==============================
+
+The mainboard code must define several variables for the ASL files.
+
+* EC_SCI
+ Defines the General Purpose Event (GPE) corresponding to the EC's SCI line.
+* EC_ACPI_LID_SWITCH_OBJECT
+ Defines the APCI object which reads the state of the lid, with 0 = open, and
+ 1 = closed. This is usually the bit which reads the GPIO input corresponding
+ to the lid switch.
+* PNOT()
+ The mainboard must define a PNOT method to handle power state notifications
+ and Notify CPU device objects to re-evaluate their _PPC and _CST tables.