bus: mhi: host: pci_generic: Add HP variant of T99W175
authorSong Fuchang <song.fc@gmail.com>
Mon, 7 Nov 2022 13:48:35 +0000 (19:18 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 7 Nov 2022 13:49:31 +0000 (19:19 +0530)
The Foxconn T99W175 modem has an HP variant, which has
the following output from lspci:

01:00.0 Wireless controller [0d40]: Device 03f0:0a6c

It also has some HP-specific serial numbers on the
metal case. It works well with this driver, so add
support for this to the pci_generic driver.

Signed-off-by: Song Fuchang <song.fc@gmail.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
[mani: manually applied the patch]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/host/pci_generic.c

index fb3b050aed70e90ef5ea4214c7b54ea737abde81..b58a3036789641ce29ed543cb2e093508a4cc42a 100644 (file)
@@ -598,6 +598,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
        /* MV32-WB (Cinterion) */
        { PCI_DEVICE(0x1269, 0x00bb),
                .driver_data = (kernel_ulong_t) &mhi_mv32_info },
+       /* T99W175 (sdx55), HP variant */
+       { PCI_DEVICE(0x03f0, 0x0a6c),
+               .driver_data = (kernel_ulong_t) &mhi_foxconn_sdx55_info },
        {  }
 };
 MODULE_DEVICE_TABLE(pci, mhi_pci_id_table);