summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/uart/uart.c
diff options
context:
space:
mode:
authorSaurabh Mishra <mishra.saurabh@intel.com>2024-04-12 20:39:34 +0530
committerFelix Held <felix-coreboot@felixheld.de>2024-05-14 13:12:00 +0000
commit2e532b19d5a35eafac579b067bc9a6d40854badd (patch)
treece27c9282570596fece0de48dbb6bd7639ba88c0 /src/soc/intel/common/block/uart/uart.c
parent1057865a89568f887f353b020a20d54374acdbe8 (diff)
soc/intel/common: Add Panther Lake DIDs
Reference: Panther Lake External Design Specification Volume 0.51 (815002) BUG=b:329787286 TEST=verified on Panther Lake Simics Platform. Change-Id: I941d6e1c8a697234b8e64a2523e60587897d7f7a Signed-off-by: Saurabh Mishra <mishra.saurabh@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81848 Reviewed-by: Ashish Kumar Mishra <ashish.k.mishra@intel.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/uart/uart.c')
-rw-r--r--src/soc/intel/common/block/uart/uart.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c
index c03f5a9d36..e52bb0f62e 100644
--- a/src/soc/intel/common/block/uart/uart.c
+++ b/src/soc/intel/common/block/uart/uart.c
@@ -309,6 +309,7 @@ static const char *uart_acpi_hid(const struct device *dev)
static const char *uart_acpi_name(const struct device *dev)
{
switch (dev->device) {
+ case PCI_DID_INTEL_PTL_UART0:
case PCI_DID_INTEL_LNL_UART0:
case PCI_DID_INTEL_ADP_P_UART0:
case PCI_DID_INTEL_APL_UART0:
@@ -317,6 +318,7 @@ static const char *uart_acpi_name(const struct device *dev)
case PCI_DID_INTEL_SPT_H_UART0:
case PCI_DID_INTEL_CNP_H_UART0:
return "UAR0";
+ case PCI_DID_INTEL_PTL_UART1:
case PCI_DID_INTEL_LNL_UART1:
case PCI_DID_INTEL_ADP_P_UART1:
case PCI_DID_INTEL_APL_UART1:
@@ -325,6 +327,7 @@ static const char *uart_acpi_name(const struct device *dev)
case PCI_DID_INTEL_SPT_H_UART1:
case PCI_DID_INTEL_CNP_H_UART1:
return "UAR1";
+ case PCI_DID_INTEL_PTL_UART2:
case PCI_DID_INTEL_LNL_UART2:
case PCI_DID_INTEL_ADP_P_UART2:
case PCI_DID_INTEL_APL_UART2:
@@ -352,6 +355,9 @@ struct device_operations uart_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_PTL_UART0,
+ PCI_DID_INTEL_PTL_UART1,
+ PCI_DID_INTEL_PTL_UART2,
PCI_DID_INTEL_LNL_UART0,
PCI_DID_INTEL_LNL_UART1,
PCI_DID_INTEL_LNL_UART2,