All of lore.kernel.org
 help / color / mirror / Atom feed
From: Song Fuchang <song.fc@gmail.com>
To: Manivannan Sadhasivam <mani@kernel.org>
Cc: mhi@lists.linux.dev
Subject: [PATCH v2 RESEND] bus: mhi: host: pci_generic: Add HP variant of T99W175
Date: Mon, 7 Nov 2022 20:11:37 +0800	[thread overview]
Message-ID: <c7500e36-e1fe-ce84-4cb9-662b5169daec@gmail.com> (raw)

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>
---

Changes in v2:
  - Add more detailed commit message.


  drivers/bus/mhi/host/pci_generic.c | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/drivers/bus/mhi/host/pci_generic.c 
b/drivers/bus/mhi/host/pci_generic.c
index 9e545f2a5a26..650e8b9c26ad 100644
--- a/drivers/bus/mhi/host/pci_generic.c
+++ b/drivers/bus/mhi/host/pci_generic.c
@@ -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);
-- 
2.37.3


             reply	other threads:[~2022-11-07 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-07 12:11 Song Fuchang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-07 12:22 [PATCH v2 RESEND] bus: mhi: host: pci_generic: Add HP variant of T99W175 Song Fuchang
2022-11-07 12:40 ` Manivannan Sadhasivam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c7500e36-e1fe-ce84-4cb9-662b5169daec@gmail.com \
    --to=song.fc@gmail.com \
    --cc=mani@kernel.org \
    --cc=mhi@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.