diff options
| author | Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com> | 2026-07-16 18:05:10 -0500 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2026-07-24 10:02:44 +0800 |
| commit | 888b1934642b796fd3fc00be5681cb36ce7eae4e (patch) | |
| tree | ee596d9788cca7d82aeabf3934cee8cd99630d6a | |
| parent | 730dbda6dc70d29180eb2a7e9fa36823838bb042 (diff) | |
| download | linux-next-888b1934642b796fd3fc00be5681cb36ce7eae4e.tar.gz linux-next-888b1934642b796fd3fc00be5681cb36ce7eae4e.zip | |
PCI: Move Spacemit vendor and device IDs to linux/pci_ids.h
Move the vendor and device ID for the existing Spacemit K1 PCIe Root
Complex to include/linux/pci_ids.h. Also add K3's Root Complex device ID
to this header. This is done so that these values can be referenced in
the rtw89 driver to enable 36-bit DMA ability in it for WiFi to function
on the K3 Pico ITX board.
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20260716-rtw89-spacemit-k3-v2-1-392b577ebf75@oss.tenstorrent.com
| -rw-r--r-- | drivers/pci/controller/dwc/pcie-spacemit-k1.c | 3 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/pci/controller/dwc/pcie-spacemit-k1.c b/drivers/pci/controller/dwc/pcie-spacemit-k1.c index be20a520255b..f89c6d46c768 100644 --- a/drivers/pci/controller/dwc/pcie-spacemit-k1.c +++ b/drivers/pci/controller/dwc/pcie-spacemit-k1.c @@ -21,9 +21,6 @@ #include "pcie-designware.h" -#define PCI_VENDOR_ID_SPACEMIT 0x201f -#define PCI_DEVICE_ID_SPACEMIT_K1 0x0001 - /* Offsets and field definitions for link management registers */ #define K1_PHY_AHB_IRQ_EN 0x0000 #define PCIE_INTERRUPT_EN BIT(0) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 1c9d40e09107..d6f26cacc8e3 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2640,6 +2640,10 @@ #define PCI_VENDOR_ID_SUNIX 0x1fd4 #define PCI_DEVICE_ID_SUNIX_1999 0x1999 +#define PCI_VENDOR_ID_SPACEMIT 0x201f +#define PCI_DEVICE_ID_SPACEMIT_K1 0x0001 +#define PCI_DEVICE_ID_SPACEMIT_K3 0x0002 + #define PCI_VENDOR_ID_HINT 0x3388 #define PCI_DEVICE_ID_HINT_VXPROII_IDE 0x8013 |
