summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEran Mitrani <mitrani@google.com>2023-05-02 14:27:11 -0700
committerSubrata Banik <subratabanik@google.com>2023-06-15 05:18:40 +0000
commit113a1bb25586ca4b924a4e16c94c0bd43b76fb7d (patch)
treeb1119df02ada06342da5cde2d6a71bc7c520e54a
parent3ed0b977eb75c571c5ccf8dd1a86d170a4d52647 (diff)
mb/google/rex: add Elan HID over SPI ASL for Rex0
This patch enables adding variant specific ASL code TEST=Kernel driver is able to communicate with device Signed-off-by: Eran Mitrani <mitrani@google.com> Change-Id: I231482d56dd4afa150766c07cfde105158e5e124 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74886 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
-rw-r--r--src/mainboard/google/rex/dsdt.asl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/dsdt.asl b/src/mainboard/google/rex/dsdt.asl
index f914b3d53d..fb94cac08b 100644
--- a/src/mainboard/google/rex/dsdt.asl
+++ b/src/mainboard/google/rex/dsdt.asl
@@ -37,4 +37,11 @@ DefinitionBlock(
/* ACPI code for EC functions */
#include <ec/google/chromeec/acpi/ec.asl>
}
+ /* Mainboard specific */
+#if CONFIG(BOARD_GOOGLE_REX0)
+ Scope (\_SB.PCI0.SPI0)
+ {
+ #include <variant/acpi/hid_spi_elan.asl>
+ }
+#endif
}