Message ID | 20230807030454.37255-1-duke_xinanwen@163.com |
---|---|
State | Accepted |
Commit | 7b672d703e76094595500afe67db29a4c9763081 |
Headers | show |
Series | [v2] bus: mhi: host: pci_generic: Add support for Lenovo RM520N-GL | expand |
On Mon, 7 Aug 2023 at 05:05, Duke Xin(辛安文) <duke_xinanwen@163.com> wrote: > > The Quectel new RM520N-GL product works with the Quectel's existing > RM520N-GL modem settings.But this one is designed for lenovo laptop > usecase, hence Quectel got a new PID. > > Signed-off-by: Duke Xin(辛安文) <duke_xinanwen@163.com> > Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
On Sun, Aug 06, 2023 at 08:04:54PM -0700, Duke Xin(辛安文) wrote: > The Quectel new RM520N-GL product works with the Quectel's existing > RM520N-GL modem settings.But this one is designed for lenovo laptop > usecase, hence Quectel got a new PID. > > Signed-off-by: Duke Xin(辛安文) <duke_xinanwen@163.com> Tweaked commit message and applied to mhi-next with my reviewed-by tag. Please do not add tags on your own. - Mani > Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> > --- > Changelog > > v1 -> v2 > > * Adjusted description of quectel modem and limit character length to 75 characters. > --- > 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 fcd80bc92978..e4f2fb67dfaf 100644 > --- a/drivers/bus/mhi/host/pci_generic.c > +++ b/drivers/bus/mhi/host/pci_generic.c > @@ -604,6 +604,9 @@ static const struct pci_device_id mhi_pci_id_table[] = { > /* RM520N-GL (sdx6x), eSIM */ > { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1004), > .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info }, > + /* RM520N-GL (sdx6x), Lenovo variant */ > + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1007), > + .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_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) */ > -- > 2.25.1 >
diff --git a/drivers/bus/mhi/host/pci_generic.c b/drivers/bus/mhi/host/pci_generic.c index fcd80bc92978..e4f2fb67dfaf 100644 --- a/drivers/bus/mhi/host/pci_generic.c +++ b/drivers/bus/mhi/host/pci_generic.c @@ -604,6 +604,9 @@ static const struct pci_device_id mhi_pci_id_table[] = { /* RM520N-GL (sdx6x), eSIM */ { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1004), .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info }, + /* RM520N-GL (sdx6x), Lenovo variant */ + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1007), + .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_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) */