blob: eeb801a73f958b55cf12f7efc918050876ded406 [file] [log] [blame]
Alexandru Gagniuc1a3872f2014-04-01 16:02:08 -05001
2Accessing the EC space
3======================
4
5The ACPI implementation uses the standard I/O ports 0x62 and 0x66 to access the
6EC functionality. Accesses to these ports must be directed to the LPC bus to
7which the EC is connected.
8
9
10Interfacing with the ASL files
11==============================
12
13The mainboard code must define several variables for the ASL files.
14
15* EC_SCI
16 Defines the General Purpose Event (GPE) corresponding to the EC's SCI line.
17* EC_ACPI_LID_SWITCH_OBJECT
18 Defines the APCI object which reads the state of the lid, with 0 = open, and
19 1 = closed. This is usually the bit which reads the GPIO input corresponding
20 to the lid switch.
21* PNOT()
22 The mainboard must define a PNOT method to handle power state notifications
23 and Notify CPU device objects to re-evaluate their _PPC and _CST tables.