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>
This commit is contained in:
John Zhao 2020-02-07 14:09:15 -08:00 committed by Patrick Georgi
parent 1d0b99ba1d
commit 07171b480c
1 changed files with 8 additions and 1 deletions

View File

@ -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")
}
}
}