2e01d4fd650250306660a18cb1f846671d8fd4be
[openwrt/staging/neocturne.git] /
1 From 2dc36ddb6ca4eeda21204dc9e57750494c74c06d 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: Thu, 8 Jun 2023 02:29:27 -0700
5 Subject: [PATCH 07/13] bus: mhi: host: pci_generic: Add support for Quectel
6 EM160R-GL modem
7 MIME-Version: 1.0
8 Content-Type: text/plain; charset=UTF-8
9 Content-Transfer-Encoding: 8bit
10
11 This modem is identical to the previous EM160R-GL modem with same product
12 name. But this one is designed for a specific laptop usecase, hence Quectel
13 got a new PID.
14
15 Signed-off-by: Duke Xin(辛安文) <duke_xinanwen@163.com>
16 Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
17 Link: https://lore.kernel.org/r/20230608092927.2893-1-duke_xinanwen@163.com
18 [mani: modified the commit message and subject]
19 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
20 ---
21 drivers/bus/mhi/host/pci_generic.c | 2 ++
22 1 file changed, 2 insertions(+)
23
24 --- a/drivers/bus/mhi/host/pci_generic.c
25 +++ b/drivers/bus/mhi/host/pci_generic.c
26 @@ -594,6 +594,8 @@ static const struct pci_device_id mhi_pc
27 .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info },
28 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1002), /* EM160R-GL (sdx24) */
29 .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info },
30 + { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x100d), /* EM160R-GL (sdx24) */
31 + .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info },
32 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x2001), /* EM120R-GL for FCCL (sdx24) */
33 .driver_data = (kernel_ulong_t) &mhi_quectel_em1xx_info },
34 /* T99W175 (sdx55), Both for eSIM and Non-eSIM */