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>
This commit is contained in:
Appukuttan V K 2024-01-11 18:05:11 +05:30 committed by Felix Held
parent 659f97c621
commit 50c8f2ef36
21 changed files with 62 additions and 0 deletions

View file

@ -79,6 +79,7 @@ static const struct device_operations pci_ish_device_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_ISHB,
PCI_DID_INTEL_MTL_ISHB,
PCI_DID_INTEL_CNL_ISHB,
PCI_DID_INTEL_CML_ISHB,

View file

@ -32,6 +32,7 @@ static struct device_operations cpu_dev_ops = {
};
static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_INTEL, CPUID_LUNARLAKE_A0_1, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_1, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_A0_2, CPUID_EXACT_MATCH_MASK },
{ X86_VENDOR_INTEL, CPUID_METEORLAKE_B0, CPUID_EXACT_MATCH_MASK },

View file

@ -1477,6 +1477,7 @@ struct device_operations cse_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_CSE0,
PCI_DID_INTEL_MTL_CSE0,
PCI_DID_INTEL_APL_CSE0,
PCI_DID_INTEL_GLK_CSE0,

View file

@ -13,6 +13,14 @@ static struct device_operations dsp_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_AUDIO_1,
PCI_DID_INTEL_LNL_AUDIO_2,
PCI_DID_INTEL_LNL_AUDIO_3,
PCI_DID_INTEL_LNL_AUDIO_4,
PCI_DID_INTEL_LNL_AUDIO_5,
PCI_DID_INTEL_LNL_AUDIO_6,
PCI_DID_INTEL_LNL_AUDIO_7,
PCI_DID_INTEL_LNL_AUDIO_8,
PCI_DID_INTEL_MTL_AUDIO_1,
PCI_DID_INTEL_MTL_AUDIO_2,
PCI_DID_INTEL_MTL_AUDIO_3,

View file

@ -563,6 +563,7 @@ static struct device_operations fast_spi_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_HWSEQ_SPI,
PCI_DID_INTEL_ADP_M_N_HWSEQ_SPI,
PCI_DID_INTEL_ADP_P_HWSEQ_SPI,
PCI_DID_INTEL_ADP_S_HWSEQ_SPI,

View file

@ -332,6 +332,7 @@ const struct device_operations graphics_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_M_GT2,
PCI_DID_INTEL_RPL_U_GT1,
PCI_DID_INTEL_RPL_U_GT2,
PCI_DID_INTEL_RPL_U_GT3,

View file

@ -21,6 +21,14 @@ struct device_operations hda_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_AUDIO_1,
PCI_DID_INTEL_LNL_AUDIO_2,
PCI_DID_INTEL_LNL_AUDIO_3,
PCI_DID_INTEL_LNL_AUDIO_4,
PCI_DID_INTEL_LNL_AUDIO_5,
PCI_DID_INTEL_LNL_AUDIO_6,
PCI_DID_INTEL_LNL_AUDIO_7,
PCI_DID_INTEL_LNL_AUDIO_8,
PCI_DID_INTEL_MTL_AUDIO_1,
PCI_DID_INTEL_MTL_AUDIO_2,
PCI_DID_INTEL_MTL_AUDIO_3,

View file

@ -174,6 +174,12 @@ struct device_operations i2c_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_I2C0,
PCI_DID_INTEL_LNL_I2C1,
PCI_DID_INTEL_LNL_I2C2,
PCI_DID_INTEL_LNL_I2C3,
PCI_DID_INTEL_LNL_I2C4,
PCI_DID_INTEL_LNL_I2C5,
PCI_DID_INTEL_MTL_I2C0,
PCI_DID_INTEL_MTL_I2C1,
PCI_DID_INTEL_MTL_I2C2,

View file

@ -12,6 +12,7 @@ struct device_operations ipu_pci_ops = {
};
static const uint16_t pci_device_ids[] = {
PCI_DID_INTEL_LNL_IPU,
PCI_DID_INTEL_RPL_IPU,
PCI_DID_INTEL_MTL_IPU,
PCI_DID_INTEL_TGL_IPU,

View file

@ -138,6 +138,14 @@ struct device_operations lpc_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_ESPI_0,
PCI_DID_INTEL_LNL_ESPI_1,
PCI_DID_INTEL_LNL_ESPI_2,
PCI_DID_INTEL_LNL_ESPI_3,
PCI_DID_INTEL_LNL_ESPI_4,
PCI_DID_INTEL_LNL_ESPI_5,
PCI_DID_INTEL_LNL_ESPI_6,
PCI_DID_INTEL_LNL_ESPI_7,
PCI_DID_INTEL_MTL_ESPI_0,
PCI_DID_INTEL_MTL_ESPI_1,
PCI_DID_INTEL_MTL_ESPI_2,

View file

@ -138,6 +138,7 @@ const struct device_operations p2sb_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_P2SB,
PCI_DID_INTEL_MTL_SOC_P2SB,
PCI_DID_INTEL_RPP_P_P2SB,
PCI_DID_INTEL_APL_P2SB,

View file

@ -67,6 +67,14 @@ struct device_operations pcie_rp_ops = {
};
static const unsigned short pcie_device_ids[] = {
PCI_DID_INTEL_LNL_PCIE_RP1,
PCI_DID_INTEL_LNL_PCIE_RP2,
PCI_DID_INTEL_LNL_PCIE_RP3,
PCI_DID_INTEL_LNL_PCIE_RP4,
PCI_DID_INTEL_LNL_PCIE_RP5,
PCI_DID_INTEL_LNL_PCIE_RP6,
PCI_DID_INTEL_LNL_PCIE_RP7,
PCI_DID_INTEL_LNL_PCIE_RP8,
PCI_DID_INTEL_RPL_P_PCIE_RP1,
PCI_DID_INTEL_RPL_P_PCIE_RP2,
PCI_DID_INTEL_RPL_P_PCIE_RP3,

View file

@ -111,6 +111,7 @@ struct device_operations pmc_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_PMC,
PCI_DID_INTEL_MTL_SOC_PMC,
PCI_DID_INTEL_MTL_IOE_M_PMC,
PCI_DID_INTEL_MTL_IOE_P_PMC,

View file

@ -50,6 +50,7 @@ struct device_operations smbus_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_SMBUS,
PCI_DID_INTEL_MTL_SMBUS,
PCI_DID_INTEL_RPP_P_SMBUS,
PCI_DID_INTEL_RPP_S_SMBUS,

View file

@ -123,6 +123,9 @@ struct device_operations spi_dev_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_GSPI0,
PCI_DID_INTEL_LNL_GSPI1,
PCI_DID_INTEL_LNL_GSPI2,
PCI_DID_INTEL_MTL_GSPI0,
PCI_DID_INTEL_MTL_GSPI1,
PCI_DID_INTEL_MTL_GSPI2,

View file

@ -33,6 +33,7 @@ static const struct device_operations device_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_SRAM,
PCI_DID_INTEL_MTL_SOC_SRAM,
PCI_DID_INTEL_MTL_IOE_M_SRAM,
PCI_DID_INTEL_MTL_IOE_P_SRAM,

View file

@ -336,6 +336,7 @@ struct device_operations systemagent_ops = {
};
static const unsigned short systemagent_ids[] = {
PCI_DID_INTEL_LNL_M_ID,
PCI_DID_INTEL_MTL_M_ID,
PCI_DID_INTEL_MTL_P_ID_1,
PCI_DID_INTEL_MTL_P_ID_2,

View file

@ -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,

View file

@ -52,6 +52,8 @@ static void tbt_dma_fill_ssdt(const struct device *dev)
#endif
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_TBT_DMA0,
PCI_DID_INTEL_LNL_TBT_DMA1,
PCI_DID_INTEL_RPL_TBT_DMA0,
PCI_DID_INTEL_RPL_TBT_DMA1,
PCI_DID_INTEL_MTL_M_TBT_DMA0,

View file

@ -26,6 +26,7 @@ static struct device_operations usb4_xhci_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_TCSS_XHCI,
PCI_DID_INTEL_RPP_P_TCSS_XHCI,
PCI_DID_INTEL_MTL_M_TCSS_XHCI,
PCI_DID_INTEL_MTL_P_TCSS_XHCI,

View file

@ -131,6 +131,7 @@ struct device_operations usb_xhci_ops = {
};
static const unsigned short pci_device_ids[] = {
PCI_DID_INTEL_LNL_XHCI,
PCI_DID_INTEL_MTL_XHCI,
PCI_DID_INTEL_APL_XHCI,
PCI_DID_INTEL_CNL_LP_XHCI,