aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/block/acpi/acpi/gpio_op.asl19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi/gpio_op.asl b/src/soc/intel/common/block/acpi/acpi/gpio_op.asl
index 55d254057a..25e73651b0 100644
--- a/src/soc/intel/common/block/acpi/acpi/gpio_op.asl
+++ b/src/soc/intel/common/block/acpi/acpi/gpio_op.asl
@@ -117,3 +117,22 @@ Method (GRXE, 2, Serialized)
RXDI = !Arg1
}
+
+/*
+ * Enable/Disable SCI interrupt route
+ * Arg0 - GPIO Number
+ * Arg1 - Route to SCI#
+ * 0 = Disable IRQ route to SCI#
+ * 1 = Enable IRQ route to SCI#
+ */
+Method (GSCI, 2, Serialized)
+{
+ OperationRegion (PREG, SystemMemory, GADD (Arg0), 4)
+ Field (PREG, AnyAcc, NoLock, Preserve)
+ {
+ , 19,
+ SCIR, 1,
+ }
+
+ SCIR = Arg1
+}