summaryrefslogtreecommitdiffstats
path: root/src/ec/google/wilco/chip.c
diff options
context:
space:
mode:
authorCoolStar <coolstarorganization@gmail.com>2023-03-26 03:52:54 -0700
committerMartin L Roth <gaumless@gmail.com>2023-08-21 23:17:59 +0000
commit4a587b8e96e758b22cfb7e60e2a85c03aae98e3a (patch)
tree8da29e786740d2f090d51f35a7006772511e2390 /src/ec/google/wilco/chip.c
parent23c718c93a25cf97a1d1c88c7d75d11780565d0e (diff)
downloadcoreboot-4a587b8e96e758b22cfb7e60e2a85c03aae98e3a.tar.gz
coreboot-4a587b8e96e758b22cfb7e60e2a85c03aae98e3a.tar.bz2
coreboot-4a587b8e96e758b22cfb7e60e2a85c03aae98e3a.zip
ec/google/wilco: Correct scope of UCSI ACPI device
Set the USCI device scope to _SB and set HID to USBC000 so Windows driver attaches. This matches the ACPI used by the non-Chromebook version of the Dell Latittude 7410 (which uses the same EC). TEST=build/boot Win11 on google/drallion Change-Id: If482fa4a4856c7bc085795bc72b35ebefe2f15c4 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77281 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: CoolStar <coolstarorganization@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/wilco/chip.c')
-rw-r--r--src/ec/google/wilco/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c
index 7d85c6fe0fa9..88d416da2481 100644
--- a/src/ec/google/wilco/chip.c
+++ b/src/ec/google/wilco/chip.c
@@ -196,7 +196,7 @@ static void wilco_ec_fill_ssdt_generator(const struct device *dev)
opreg.regionoffset = (uintptr_t)region_ptr;
opreg.regionlen = ucsi_alloc_region_len;
- acpigen_write_scope(acpi_device_path_join(dev, "UCSI"));
+ acpigen_write_scope("\\_SB.UCSI");
acpigen_write_name("_CRS");
acpigen_write_resourcetemplate_header();
acpigen_write_mem32fixed(1, (uintptr_t)region_ptr, ucsi_region_len);