Skip to contentSkip to conversation

scsi: ufs: ufs-pci: Add AMD device ID support

PATCH Applied Rajeshkumar Sambandham 3 participants 4 messages Jun 2 – Jun 16 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 scsi: ufs: ufs-pci: Add AMD device ID support

Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.

---

v2:
- Use PCI_VDEVICE to match other entries in the ufshcd_pci_tbl array.

 drivers/ufs/host/ufshcd-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
index 13293e83064c..f2433879b0eb 100644
@@ -694,6 +694,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0xE447), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4D47), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0xD335), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
+	{ PCI_VDEVICE(AMD, 0x1B29), .driver_data = 0 },
 	{ }	/* terminate list */
 };
 
Signature · 1 line
2.34.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 3 lines · Rajeshkumar Sambandham

Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.

Quoted 20 lines

---

v2:
- Use PCI_VDEVICE to match other entries in the ufshcd_pci_tbl array.

 drivers/ufs/host/ufshcd-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
index 13293e83064c..f2433879b0eb 100644
@@ -694,6 +694,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0xE447), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0x4D47), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
 	{ PCI_VDEVICE(INTEL, 0xD335), .driver_data = (kernel_ulong_t)&ufs_intel_mtl_hba_vops },
+	{ PCI_VDEVICE(AMD, 0x1B29), .driver_data = 0 },
 	{ }	/* terminate list */
 };