linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash
@ 2019-04-10  7:39 Mika Westerberg
  2019-04-15  9:10 ` Tudor.Ambarus
  0 siblings, 1 reply; 2+ messages in thread
From: Mika Westerberg @ 2019-04-10  7:39 UTC (permalink / raw)
  To: Marek Vasut, Tudor Ambarus
  Cc: Boris Brezillon, Richard Weinberger, linux-mtd, Brian Norris,
	Mika Westerberg, David Woodhouse

Intel Comet Lake has the same SPI serial flash controller than Ice Lake.
Add Comet Lake PCI ID to the driver list of supported devices.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/mtd/spi-nor/intel-spi-pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi-nor/intel-spi-pci.c b/drivers/mtd/spi-nor/intel-spi-pci.c
index 872b40922608..bfbfc17ed6aa 100644
--- a/drivers/mtd/spi-nor/intel-spi-pci.c
+++ b/drivers/mtd/spi-nor/intel-spi-pci.c
@@ -63,6 +63,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id intel_spi_pci_ids[] = {
+	{ PCI_VDEVICE(INTEL, 0x02a4), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x18e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x34a4), (unsigned long)&bxt_info },
-- 
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash
  2019-04-10  7:39 [PATCH] spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash Mika Westerberg
@ 2019-04-15  9:10 ` Tudor.Ambarus
  0 siblings, 0 replies; 2+ messages in thread
From: Tudor.Ambarus @ 2019-04-15  9:10 UTC (permalink / raw)
  To: mika.westerberg, marek.vasut
  Cc: richard, computersforpeace, dwmw2, linux-mtd, bbrezillon



On 04/10/2019 10:39 AM, Mika Westerberg wrote:
> External E-Mail
> 
> 
> Intel Comet Lake has the same SPI serial flash controller than Ice Lake.

s/than/as?

> Add Comet Lake PCI ID to the driver list of supported devices.
> 
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>

with that:
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
>  drivers/mtd/spi-nor/intel-spi-pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi-nor/intel-spi-pci.c b/drivers/mtd/spi-nor/intel-spi-pci.c
> index 872b40922608..bfbfc17ed6aa 100644
> --- a/drivers/mtd/spi-nor/intel-spi-pci.c
> +++ b/drivers/mtd/spi-nor/intel-spi-pci.c
> @@ -63,6 +63,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
>  }
>  
>  static const struct pci_device_id intel_spi_pci_ids[] = {
> +	{ PCI_VDEVICE(INTEL, 0x02a4), (unsigned long)&bxt_info },
>  	{ PCI_VDEVICE(INTEL, 0x18e0), (unsigned long)&bxt_info },
>  	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
>  	{ PCI_VDEVICE(INTEL, 0x34a4), (unsigned long)&bxt_info },
> 
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-15  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-10  7:39 [PATCH] spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash Mika Westerberg
2019-04-15  9:10 ` Tudor.Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).