Skip to contentSkip to conversation

bus: mhi: host: pci_generic: Add HP variant of T99W175

PATCH Superseded Song Fuchang 2 participants 3 messages Nov 1, 2022 – Nov 7, 2022 MHI bus

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bus: mhi: host: pci_generic: Add HP variant of T99W175

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.

---

Changes in v2:

  - Add more detailed commit message.

 drivers/bus/mhi/host/pci_generic.c | 3 +++

 1 file changed, 3 insertions(+)
drivers/bus/mhi/host/pci_generic.c +0 -0
index 9e545f2a5a26..650e8b9c26ad 100644
@@ -592,6 +592,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);

Signature · 1 line
2.37.3
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 10 lines · Song Fuchang

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.

Thanks,
Mani

Quoted 29 lines

---

Changes in v2:

  - Add more detailed commit message.

 drivers/bus/mhi/host/pci_generic.c | 3 +++

 1 file changed, 3 insertions(+)
drivers/bus/mhi/host/pci_generic.c +3 -0
index 9e545f2a5a26..650e8b9c26ad 100644
@@ -592,6 +592,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);
Signature · 1 line
2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்
#2 lore raw
In reply to Song Fuchang
Quoted 10 lines · Song Fuchang

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.

I cannot apply this patch using git am. Diff header seems to be mangled.

"error: git diff header lacks filename information when removing 1 leading pathname component (line 12)"

Please fix it and resend.

Thanks,
Mani

Quoted 29 lines

---

Changes in v2:

  - Add more detailed commit message.

 drivers/bus/mhi/host/pci_generic.c | 3 +++

 1 file changed, 3 insertions(+)
drivers/bus/mhi/host/pci_generic.c +3 -0
index 9e545f2a5a26..650e8b9c26ad 100644
@@ -592,6 +592,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);
Signature · 1 line
2.37.3
Signature · 1 line
மணிவண்ணன் சதாசிவம்