ec/compal/ene932/acpi: Let mainboard define the ACPI lid object

The GP15 ACPI object was used to get the state of the lid. However
GP15 is specific to certain Intel chipsets, and will not always be in
the ACPI namespace. Instead of hardcoding this object, let the
mainboard define it.

Also, document the ACPI interface for the EC.

Change-Id: I02a2eb3116af61ea5701f84507327aa40218597a
Signed-off-by: Alexandru Gagniuc <>
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <>
Reviewed-by: Paul Menzel <>
Reviewed-by: Idwer Vollering <>
3 files changed