diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-02-07 10:00:31 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-08 20:09:26 -0400 |
commit | 3db80c230da15ceb1a526438b458058abcd53800 (patch) | |
tree | 1ef023cf2a9d7655f4ade4cb4c7a84b2828dfc18 /drivers/acpi/Makefile | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) |
ACPI: implement Generic Event Device
Generic Event Device described in ACPI 6.1 allows platforms to handle
platform interrupts in ACPI ASL statements. It borrows constructs like
_EVT from GPIO events. All interrupts are listed in _CRS and the handler
is written in _EVT method. Here is an example.
Device (GED0)
{
Name (_HID, "ACPI0013")
Name (_UID, 0)
Name(_CRS, ResourceTemplate ()
{
Interrupt(ResourceConsumer, Edge, ActiveHigh, Shared, , , )
{123}
})
Method (_EVT, 1) {
if (Lequal(123, Arg0))
{
}
}
}
Wake capability has not been implemented yet.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index edeb2d1d99be..5a65f85cf7a7 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -47,6 +47,7 @@ acpi-$(CONFIG_ARM_AMBA) += acpi_amba.o | |||
47 | acpi-y += int340x_thermal.o | 47 | acpi-y += int340x_thermal.o |
48 | acpi-y += power.o | 48 | acpi-y += power.o |
49 | acpi-y += event.o | 49 | acpi-y += event.o |
50 | acpi-$(CONFIG_ACPI_REDUCED_HARDWARE_ONLY) += evged.o | ||
50 | acpi-y += sysfs.o | 51 | acpi-y += sysfs.o |
51 | acpi-y += property.o | 52 | acpi-y += property.o |
52 | acpi-$(CONFIG_X86) += acpi_cmos_rtc.o | 53 | acpi-$(CONFIG_X86) += acpi_cmos_rtc.o |