Message ID | 20240425090540.35505-1-atlas.yu@canonical.com |
---|---|
State | New |
Headers | show |
Series | [SRU,M,1/1] Add support for Quectel EM160R-GL modem | expand |
Just ignore me. On Thu, Apr 25, 2024 at 5:05 PM Atlas Yu <atlas.yu@canonical.com> wrote: > From: Duke Xin(辛安文) <duke_xinanwen@163.com> > > BugLink: https://bugs.launchpad.net/bugs/2063399 > > This modem is identical to the previous EM160R-GL modem with same product > name. But this one is designed for a specific laptop usecase, hence Quectel > got a new PID. > > Signed-off-by: Duke Xin(辛安文) <duke_xinanwen@163.com> > Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> > Link: > https://lore.kernel.org/r/20230608092927.2893-1-duke_xinanwen@163.com > [mani: modified the commit message and subject] > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > (cherry picked from commit 110f113a4898e8a45ea14a3b0108cfcd7ecd52d5) > Signed-off-by: Atlas Yu <atlas.yu@canonical.com> > --- > drivers/bus/mhi/host/pci_generic.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/bus/mhi/host/pci_generic.c > b/drivers/bus/mhi/host/pci_generic.c > index 8501a87c8369..0d33484e239a 100644 > --- a/drivers/bus/mhi/host/pci_generic.c > +++ b/drivers/bus/mhi/host/pci_generic.c > @@ -573,6 +573,8 @@ static const struct pci_device_id mhi_pci_id_table[] = > { > .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, > { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1002), /* EM160R-GL (sdx24) > */ > .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, > + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x100d), /* EM160R-GL (sdx24) > */ > + .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, > { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x2001), /* EM120R-GL for FCCL > (sdx24) */ > .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, > /* T99W175 (sdx55), Both for eSIM and Non-eSIM */ > -- > 2.40.1 > >
diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c index 8501a87c8369..0d33484e239a 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -573,6 +573,8 @@ static const struct pci_device_id mhi_pci_id_table[] = { .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1002), /* EM160R-GL (sdx24) */ .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x100d), /* EM160R-GL (sdx24) */ + .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x2001), /* EM120R-GL for FCCL (sdx24) */ .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info }, /* T99W175 (sdx55), Both for eSIM and Non-eSIM */