diff options
author | CoolStar <coolstarorganization@gmail.com> | 2023-03-26 03:52:54 -0700 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-08-21 23:17:59 +0000 |
commit | 4a587b8e96e758b22cfb7e60e2a85c03aae98e3a (patch) | |
tree | 8da29e786740d2f090d51f35a7006772511e2390 /src/ec/google/wilco/chip.c | |
parent | 23c718c93a25cf97a1d1c88c7d75d11780565d0e (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c index 7d85c6fe0f..88d416da24 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); |