diff options
author | Marx Wang <marx.wang@intel.corp-partner.google.com> | 2023-05-23 10:59:59 +0800 |
---|---|---|
committer | Sridhar Siricilla <sridhar.siricilla@intel.com> | 2023-05-24 11:41:56 +0000 |
commit | 00d9107e02b0327ae16eb2b08605d9942ae0ab18 (patch) | |
tree | b68f15cbbcb9c28be46552b25a0ac5c6f7b551e4 /src | |
parent | 124c57a5c542ac883706a201c62927de3d3b2ed5 (diff) |
soc/intel/meteorlake: Add CPU PortID for GPIO Community
Add CPU PortID for GPIO communities in order to calculate
IOM Aux Bias data correctly.
BUG=b:283044004
TEST=able to detect external display
Signed-off-by: Marx Wang <marx.wang@intel.com>
Change-Id: I79f27fb0b6bde0a4ce2466eaf707166a952fad81
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75390
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/intel/meteorlake/gpio.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/intel/meteorlake/gpio.c b/src/soc/intel/meteorlake/gpio.c index 2662ddeed6..d4cbe0c24a 100644 --- a/src/soc/intel/meteorlake/gpio.c +++ b/src/soc/intel/meteorlake/gpio.c @@ -75,6 +75,7 @@ static const struct vw_entries mtl_community5_vw[] = { static const struct pad_community mtl_communities[] = { [COMM_0] = { /* GPP CPU, V, C */ .port = PID_GPIOCOM0, + .cpu_port = PID_GPIOCOM0, .first_pad = GPIO_COM0_START, .last_pad = GPIO_COM0_END, .num_gpi_regs = NUM_GPIO_COM0_GPI_REGS, @@ -102,6 +103,7 @@ static const struct pad_community mtl_communities[] = { }, [COMM_1] = { /* GPP A, E */ .port = PID_GPIOCOM1, + .cpu_port = PID_GPIOCOM1, .first_pad = GPIO_COM1_START, .last_pad = GPIO_COM1_END, .num_gpi_regs = NUM_GPIO_COM1_GPI_REGS, @@ -129,6 +131,7 @@ static const struct pad_community mtl_communities[] = { }, [COMM_3] = { /* GPP H, F, SPI0, VGPIO3 */ .port = PID_GPIOCOM3, + .cpu_port = PID_GPIOCOM3, .first_pad = GPIO_COM3_START, .last_pad = GPIO_COM3_END, .num_gpi_regs = NUM_GPIO_COM3_GPI_REGS, @@ -152,6 +155,7 @@ static const struct pad_community mtl_communities[] = { }, [COMM_4] = { /* GPP S, JTAG */ .port = PID_GPIOCOM4, + .cpu_port = PID_GPIOCOM4, .first_pad = GPIO_COM4_START, .last_pad = GPIO_COM4_END, .num_gpi_regs = NUM_GPIO_COM4_GPI_REGS, @@ -172,6 +176,7 @@ static const struct pad_community mtl_communities[] = { }, [COMM_5] = { /* GPP B, D, VGPIO */ .port = PID_GPIOCOM5, + .cpu_port = PID_GPIOCOM5, .first_pad = GPIO_COM5_START, .last_pad = GPIO_COM5_END, .num_gpi_regs = NUM_GPIO_COM5_GPI_REGS, |