From 07171b480cfdfdc0e14060ff93bf94a74161b0e6 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Fri, 7 Feb 2020 14:09:15 -0800 Subject: soc/intel/tigerlake: Add PMC mux control PMC supports messages that can be used for configuring the USB Type-C Multiplexer/Demultiplexer. BUG=b:151646486 TEST=Booted to kernel on volteer board and verified PMC and Mux agent devices identification. Change-Id: I00c5f929b2eea5de3f8eba794dbe9b36c8083c52 Signed-off-by: John Zhao Reviewed-on: https://review.coreboot.org/c/coreboot/+/38777 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/soc/intel/tigerlake/acpi/pmc.asl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/soc') diff --git a/src/soc/intel/tigerlake/acpi/pmc.asl b/src/soc/intel/tigerlake/acpi/pmc.asl index 2f7fa46d73..8e4e306651 100644 --- a/src/soc/intel/tigerlake/acpi/pmc.asl +++ b/src/soc/intel/tigerlake/acpi/pmc.asl @@ -14,7 +14,14 @@ Scope (\_SB.PCI0) { * 64KB (0xFE000000 - 0xFE00FFFF) for PMC MBAR. */ Name (_CRS, ResourceTemplate () { - Memory32Fixed (ReadWrite, PCH_PWRM_BASE_ADDRESS, 0x00010000) + Memory32Fixed (ReadWrite, PCH_PWRM_BASE_ADDRESS, PCH_PWRM_BASE_SIZE) }) + + /* The OS mux driver will be bound to this device node. */ + Device (MUX) + { + Name (_HID, "INTC105C") + Name (_DDN, "Intel(R) Tiger Lake North Mux-Agent") + } } } -- cgit v1.2.3