summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common/block/uart/uart.c
diff options
context:
space:
mode:
authorAppukuttan V K <appukuttan.vk@intel.com>2024-01-11 18:05:11 +0530
committerFelix Held <felix-coreboot@felixheld.de>2024-01-26 21:56:13 +0000
commit50c8f2ef363637ee6219d4771ed5311489686285 (patch)
treee03109cdc49983338952edad32bde48d9b9e0112 /src/soc/intel/common/block/uart/uart.c
parent659f97c621c085248f68cf5a63819aa4c4497206 (diff)
downloadcoreboot-50c8f2ef363637ee6219d4771ed5311489686285.tar.gz
coreboot-50c8f2ef363637ee6219d4771ed5311489686285.tar.bz2
coreboot-50c8f2ef363637ee6219d4771ed5311489686285.zip
soc/intel/common: Add lunarlake device IDs
Added Lunar Lake device IDs the device specific functions Reference: Lunar Lake External Design Specification Volume 1 (734362) Change-Id: Id31d567287b9921d60909b1eb617c7cfaf6672c9 Signed-off-by: Appukuttan V K <appukuttan.vk@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79900 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Saurabh Mishra <mishra.saurabh@intel.com> Reviewed-by: Wonkyu Kim <wonkyu.kim@intel.com> Reviewed-by: Bora Guvendik <bora.guvendik@intel.com>
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 912349850bef..533fbee8329f 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_LNL_UART0:
case PCI_DID_INTEL_ADP_P_UART0:
case PCI_DID_INTEL_APL_UART0:
case PCI_DID_INTEL_GLK_UART0:
@@ -316,6 +317,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_LNL_UART1:
case PCI_DID_INTEL_ADP_P_UART1:
case PCI_DID_INTEL_APL_UART1:
case PCI_DID_INTEL_GLK_UART1:
@@ -323,6 +325,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_LNL_UART2:
case PCI_DID_INTEL_ADP_P_UART2:
case PCI_DID_INTEL_APL_UART2:
case PCI_DID_INTEL_GLK_UART2:
@@ -349,6 +352,9 @@ struct device_operations uart_ops = {
};
static const unsigned short pci_device_ids[] = {
+ PCI_DID_INTEL_LNL_UART0,
+ PCI_DID_INTEL_LNL_UART1,
+ PCI_DID_INTEL_LNL_UART2,
PCI_DID_INTEL_MTL_UART0,
PCI_DID_INTEL_MTL_UART1,
PCI_DID_INTEL_MTL_UART2,