summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Zhao <john.zhao@intel.com>2020-02-07 14:09:15 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-05 13:00:01 +0000
commit07171b480cfdfdc0e14060ff93bf94a74161b0e6 (patch)
tree25a89c6cc8597de128ffc801c692487760506177
parent1d0b99ba1df910677b3ac238a16b88bcec2d49f8 (diff)
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 <john.zhao@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38777 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/soc/intel/tigerlake/acpi/pmc.asl9
1 files changed, 8 insertions, 1 deletions
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")
+ }
}
}