aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/interrupt-controller
diff options
context:
space:
mode:
authorSimon Glass2020-07-07 21:32:34 -0600
committerBin Meng2020-07-17 14:32:24 +0800
commita8c2789c09681660bfdbda489e504d12b0ab74b5 (patch)
treea4019c0f0b95195ba4460844cb27c55489a90e6a /include/dt-bindings/interrupt-controller
parent11e27ae92b1b7596a2ad5755be119c14e68895ac (diff)
x86: irq: Support flags for acpi_gpe
This binding currently has a flags cell but it is not used. Make use of it to create ACPI tables for interrupts. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Diffstat (limited to 'include/dt-bindings/interrupt-controller')
-rw-r--r--include/dt-bindings/interrupt-controller/x86-irq.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dt-bindings/interrupt-controller/x86-irq.h b/include/dt-bindings/interrupt-controller/x86-irq.h
new file mode 100644
index 00000000000..9e0b4612e13
--- /dev/null
+++ b/include/dt-bindings/interrupt-controller/x86-irq.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright 2019 Google LLC
+ *
+ * This provides additional flags used by x86.
+ */
+
+#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_X86_IRQ_H
+#define _DT_BINDINGS_INTERRUPT_CONTROLLER_X86_IRQ_H
+
+#define X86_IRQ_TYPE_SHARED (1 << 4)
+#define X86_IRQ_TYPE_WAKE (1 << 5)
+
+#endif