aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-04-10 06:28:45 -0400
committerLee Jones <lee.jones@linaro.org>2017-04-27 06:54:43 -0400
commita6450cb0388ee58659be5a54a7bfe5bff09532c7 (patch)
treea59c08b80bfd0942cb38768abb66af6a83436edc
parentac03fec1d7d889192cce35edac6fef6026a4d6a1 (diff)
mfd: lpc_ich: Add support for Intel Gemini Lake SoC
Like Intel Apollo Lake, Gemini Lake exposes the serial SPI flash device BAR through hidden P2SB PCI device. We use the same mechanism than Apollo Lake to read the BAR and pass it to the driver. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/lpc_ich.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index 7c1b0a32310c..773f1554d2f9 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -227,6 +227,7 @@ enum lpc_chipsets {
227 LPC_LEWISBURG, /* Lewisburg */ 227 LPC_LEWISBURG, /* Lewisburg */
228 LPC_9S, /* 9 Series */ 228 LPC_9S, /* 9 Series */
229 LPC_APL, /* Apollo Lake SoC */ 229 LPC_APL, /* Apollo Lake SoC */
230 LPC_GLK, /* Gemini Lake SoC */
230 LPC_COUGARMOUNTAIN,/* Cougar Mountain SoC*/ 231 LPC_COUGARMOUNTAIN,/* Cougar Mountain SoC*/
231}; 232};
232 233
@@ -555,6 +556,10 @@ static struct lpc_ich_info lpc_chipset_info[] = {
555 .iTCO_version = 5, 556 .iTCO_version = 5,
556 .spi_type = INTEL_SPI_BXT, 557 .spi_type = INTEL_SPI_BXT,
557 }, 558 },
559 [LPC_GLK] = {
560 .name = "Gemini Lake SoC",
561 .spi_type = INTEL_SPI_BXT,
562 },
558 [LPC_COUGARMOUNTAIN] = { 563 [LPC_COUGARMOUNTAIN] = {
559 .name = "Cougar Mountain SoC", 564 .name = "Cougar Mountain SoC",
560 .iTCO_version = 3, 565 .iTCO_version = 3,
@@ -687,6 +692,7 @@ static const struct pci_device_id lpc_ich_ids[] = {
687 { PCI_VDEVICE(INTEL, 0x2917), LPC_ICH9ME}, 692 { PCI_VDEVICE(INTEL, 0x2917), LPC_ICH9ME},
688 { PCI_VDEVICE(INTEL, 0x2918), LPC_ICH9}, 693 { PCI_VDEVICE(INTEL, 0x2918), LPC_ICH9},
689 { PCI_VDEVICE(INTEL, 0x2919), LPC_ICH9M}, 694 { PCI_VDEVICE(INTEL, 0x2919), LPC_ICH9M},
695 { PCI_VDEVICE(INTEL, 0x3197), LPC_GLK},
690 { PCI_VDEVICE(INTEL, 0x2b9c), LPC_COUGARMOUNTAIN}, 696 { PCI_VDEVICE(INTEL, 0x2b9c), LPC_COUGARMOUNTAIN},
691 { PCI_VDEVICE(INTEL, 0x3a14), LPC_ICH10DO}, 697 { PCI_VDEVICE(INTEL, 0x3a14), LPC_ICH10DO},
692 { PCI_VDEVICE(INTEL, 0x3a16), LPC_ICH10R}, 698 { PCI_VDEVICE(INTEL, 0x3a16), LPC_ICH10R},