mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
bus: mhi: host: pci_generic: Add support for all Foxconn T99W696 SKU variants
Since there are too many variants available for Foxconn T99W696 modem, and they all share the same configuration, use PCI_ANY_ID as the subsystem device ID to match each possible SKUs and support all of them. Signed-off-by: Slark Xiao <slark_xiao@163.com> [mani: reworded subject/description and dropped the fixes tag] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Link: https://patch.msgid.link/20250819020013.122162-1-slark_xiao@163.com
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
8f5ae30d69
commit
376358bb97
@@ -917,20 +917,8 @@ static const struct pci_device_id mhi_pci_id_table[] = {
|
||||
/* Telit FE990A */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x1c5d, 0x2015),
|
||||
.driver_data = (kernel_ulong_t) &mhi_telit_fe990a_info },
|
||||
/* Foxconn T99W696.01, Lenovo Generic SKU */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, 0xe142),
|
||||
.driver_data = (kernel_ulong_t) &mhi_foxconn_t99w696_info },
|
||||
/* Foxconn T99W696.02, Lenovo X1 Carbon SKU */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, 0xe143),
|
||||
.driver_data = (kernel_ulong_t) &mhi_foxconn_t99w696_info },
|
||||
/* Foxconn T99W696.03, Lenovo X1 2in1 SKU */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, 0xe144),
|
||||
.driver_data = (kernel_ulong_t) &mhi_foxconn_t99w696_info },
|
||||
/* Foxconn T99W696.04, Lenovo PRC SKU */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, 0xe145),
|
||||
.driver_data = (kernel_ulong_t) &mhi_foxconn_t99w696_info },
|
||||
/* Foxconn T99W696.00, Foxconn SKU */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, 0xe146),
|
||||
/* Foxconn T99W696, all variants */
|
||||
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, PCI_VENDOR_ID_FOXCONN, PCI_ANY_ID),
|
||||
.driver_data = (kernel_ulong_t) &mhi_foxconn_t99w696_info },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308),
|
||||
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
|
||||
|
||||
Reference in New Issue
Block a user