]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: lpc_ich: Add support for Intel Gemini Lake SoC
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 10 Apr 2017 10:28:45 +0000 (13:28 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 Apr 2017 10:54:43 +0000 (11:54 +0100)
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>
drivers/mfd/lpc_ich.c

index 7c1b0a32310cb737296dd72bb3b954eebbfe2d66..773f1554d2f9514ee5e9d32cedda4da88cc94a68 100644 (file)
@@ -227,6 +227,7 @@ enum lpc_chipsets {
        LPC_LEWISBURG,  /* Lewisburg */
        LPC_9S,         /* 9 Series */
        LPC_APL,        /* Apollo Lake SoC */
+       LPC_GLK,        /* Gemini Lake SoC */
        LPC_COUGARMOUNTAIN,/* Cougar Mountain SoC*/
 };
 
@@ -555,6 +556,10 @@ static struct lpc_ich_info lpc_chipset_info[] = {
                .iTCO_version = 5,
                .spi_type = INTEL_SPI_BXT,
        },
+       [LPC_GLK] = {
+               .name = "Gemini Lake SoC",
+               .spi_type = INTEL_SPI_BXT,
+       },
        [LPC_COUGARMOUNTAIN] = {
                .name = "Cougar Mountain SoC",
                .iTCO_version = 3,
@@ -687,6 +692,7 @@ static const struct pci_device_id lpc_ich_ids[] = {
        { PCI_VDEVICE(INTEL, 0x2917), LPC_ICH9ME},
        { PCI_VDEVICE(INTEL, 0x2918), LPC_ICH9},
        { PCI_VDEVICE(INTEL, 0x2919), LPC_ICH9M},
+       { PCI_VDEVICE(INTEL, 0x3197), LPC_GLK},
        { PCI_VDEVICE(INTEL, 0x2b9c), LPC_COUGARMOUNTAIN},
        { PCI_VDEVICE(INTEL, 0x3a14), LPC_ICH10DO},
        { PCI_VDEVICE(INTEL, 0x3a16), LPC_ICH10R},