c0dfe01e327d38d9b28340b85b6c3f50e9bb1de5
[openwrt/staging/xback.git] /
1 From 8be9e92a2c8f26fd7482acc2323c6dc2a4ad43aa Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Duke=20Xin=20=28=E8=BE=9B=E5=AE=89=E6=96=87=29?=
3 <duke_xinanwen@163.com>
4 Date: Sun, 6 Aug 2023 20:04:54 -0700
5 Subject: [PATCH 10/13] bus: mhi: host: pci_generic: Add support for Quectel
6 RM520N-GL Lenovo variant
7 MIME-Version: 1.0
8 Content-Type: text/plain; charset=UTF-8
9 Content-Transfer-Encoding: 8bit
10
11 Quectel's RM520N-GL Lenovo variant is same as that of the existing
12 RM520N-GL modem and uses the same config. But this one is designed for
13 Lenovo laptop usecase, hence Quectel got a new PID.
14
15 Signed-off-by: Duke Xin(辛安文) <duke_xinanwen@163.com>
16 Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
17 Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
18 Link: https://lore.kernel.org/r/20230807030454.37255-1-duke_xinanwen@163.com
19 [mani: tweaked subject and commit message a bit]
20 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
21 ---
22 drivers/bus/mhi/host/pci_generic.c | 3 +++
23 1 file changed, 3 insertions(+)
24
25 --- a/drivers/bus/mhi/host/pci_generic.c
26 +++ b/drivers/bus/mhi/host/pci_generic.c
27 @@ -604,6 +604,9 @@ static const struct pci_device_id mhi_pc
28 /* RM520N-GL (sdx6x), eSIM */
29 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1004),
30 .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info },
31 + /* RM520N-GL (sdx6x), Lenovo variant */
32 + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1007),
33 + .driver_data = (kernel_ulong_t) &mhi_quectel_rm5xx_info },
34 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x100d), /* EM160R-GL (sdx24) */
35 .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info },
36 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x2001), /* EM120R-GL for FCCL (sdx24) */