mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
11e27ae92b
commit
a8c2789c09
2 changed files with 40 additions and 0 deletions
14
include/dt-bindings/interrupt-controller/x86-irq.h
Normal file
14
include/dt-bindings/interrupt-controller/x86-irq.h
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue