Skip to contentSkip to conversation

spi: intel: Add support for Arrow Lake-H and Wildcat Lake

PATCH In review Mika Westerberg 2 participants 5 messages Oct 20, 2025 – Oct 21, 2025 SPI

lore
Share & tools
lore
#0 lore raw

cover spi: intel: Add support for Arrow Lake-H and Wildcat Lake

Hi,

This series adds Intel Arrow Lake-H and Wildcat Lake PCI IDs to the driver. Also add support for the 128M component density that is needed for bigger chips.

Mika Westerberg (3):
spi: intel: Add support for 128M component density
spi: intel-pci: Add support for Arrow Lake-H SPI serial flash
spi: intel-pci: Add support for Intel Wildcat Lake SPI serial flash

 drivers/spi/spi-intel-pci.c | 2 ++
 drivers/spi/spi-intel.c     | 6 ++++++
 2 files changed, 8 insertions(+)
Signature · 1 line
2.50.1
#1 lore raw

PATCH 1/3 spi: intel: Add support for 128M component density

With the recent hardware the flash component density can be increased to 128M. Update the driver to support this. While there log a warning if we encounter an unsupported value in this field.

---
 drivers/spi/spi-intel.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/spi/spi-intel.c +6 -0
index 13bbb2133507..1775ad39e633 100644
@@ -132,6 +132,7 @@
 #define FLCOMP_C0DEN_16M		0x05
 #define FLCOMP_C0DEN_32M		0x06
 #define FLCOMP_C0DEN_64M		0x07
+#define FLCOMP_C0DEN_128M		0x08
 
 #define INTEL_SPI_TIMEOUT		5000 /* ms */
 #define INTEL_SPI_FIFO_SZ		64
@@ -1347,7 +1348,12 @@ static int intel_spi_read_desc(struct intel_spi *ispi)
 	case FLCOMP_C0DEN_64M:
 		ispi->chip0_size = SZ_64M;
 		break;
+	case FLCOMP_C0DEN_128M:
+		ispi->chip0_size = SZ_128M;
+		break;
 	default:
+		dev_warn(ispi->dev, "unsupported C0DEN: %#lx\n",
+			 flcomp & FLCOMP_C0DEN_MASK);
 		return -EINVAL;
 	}
 
Signature · 1 line
2.50.1
#2 lore raw

PATCH 2/3 spi: intel-pci: Add support for Arrow Lake-H SPI serial flash

In reply to Mika Westerberg

Add Intel Arrow Lake-H PCI ID to the driver list of supported devices. This is the same controller found in previous generations.

---
 drivers/spi/spi-intel-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/spi-intel-pci.c +1 -0
index 4b63cb98df9c..49b4d3061197 100644
@@ -79,6 +79,7 @@ static const struct pci_device_id intel_spi_pci_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0x51a4), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x54a4), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x5794), (unsigned long)&cnl_info },
+	{ PCI_VDEVICE(INTEL, 0x7723), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x7a24), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x7aa4), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x7e23), (unsigned long)&cnl_info },
Signature · 1 line
2.50.1
#3 lore raw

PATCH 3/3 spi: intel-pci: Add support for Intel Wildcat Lake SPI serial flash

In reply to Mika Westerberg

Add Intel Wildcat Lake SPI serial flash PCI ID to the list of supported devices.

---
 drivers/spi/spi-intel-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/spi/spi-intel-pci.c +1 -0
index 49b4d3061197..7765fb27c37c 100644
@@ -75,6 +75,7 @@ static const struct pci_device_id intel_spi_pci_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0x38a4), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x43a4), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x4b24), (unsigned long)&bxt_info },
+	{ PCI_VDEVICE(INTEL, 0x4d23), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x4da4), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x51a4), (unsigned long)&cnl_info },
 	{ PCI_VDEVICE(INTEL, 0x54a4), (unsigned long)&cnl_info },
Signature · 1 line
2.50.1
maintainer
#4 lore raw
In reply to Mika Westerberg
Quoted 10 lines · Mika Westerberg

This series adds Intel Arrow Lake-H and Wildcat Lake PCI IDs to the driver. Also add support for the 128M component density that is needed for bigger chips.

Mika Westerberg (3):
spi: intel: Add support for 128M component density
spi: intel-pci: Add support for Arrow Lake-H SPI serial flash
spi: intel-pci: Add support for Intel Wildcat Lake SPI serial flash

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/3] spi: intel: Add support for 128M component density

      commit: e46ee2f07e5848d7ec7aec38b72476dc7941b048
[2/3] spi: intel-pci: Add support for Arrow Lake-H SPI serial flash
      commit: bc25c6e0a4880b5ad70c31fe1466f30c9e4c8f52
[3/3] spi: intel-pci: Add support for Intel Wildcat Lake SPI serial flash
      commit: f7e37affbc9085f2b77ccb6596521a44eabf7505

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark