x86: Add support for ACPI general-purpose events
authorSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 16:55:01 +0000 (09:55 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 7 Feb 2020 14:46:35 +0000 (22:46 +0800)
commite85cbe8b34147126cdd5dab09f4c745157f6083c
treec10d0fddb089e0a89e446b4dc33d770c2ec55a68
parent025543554c36615a66d66c154f3f763ac788ee15
x86: Add support for ACPI general-purpose events

ACPI GPEs are used to signal interrupts from peripherals that are accessed
via ACPI. In U-Boot these are modelled as interrupts using a separate
interrupt controller. Configuration is via the device tree.

Add a simple driver for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/Kconfig
arch/x86/cpu/Makefile
arch/x86/cpu/acpi_gpe.c [new file with mode: 0644]
doc/device-tree-bindings/interrupt-controller/intel,acpi-gpe.txt [new file with mode: 0644]