Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH] bus: mhi: host: pci_generic: Add support for Lenovo RM520N-GL
@ 2023-07-28  1:47 Duke Xin(辛安文)
  2023-08-02 11:07 ` Manivannan Sadhasivam
  0 siblings, 1 reply; 3+ messages in thread
From: Duke Xin(辛安文) @ 2023-07-28  1:47 UTC (permalink / raw)
  To: mani, loic.poulain, slark_xiao
  Cc: fabio.porcedda, koen.vandeputte, bhelgaas, mhi, linux-arm-msm,
	jerry.meng, duke.xin, Duke Xin(辛安文)

This modem is designed based on Qualcomm SDX6x and it will align with the quectel previous 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>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-04  3:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28  1:47 [PATCH] bus: mhi: host: pci_generic: Add support for Lenovo RM520N-GL Duke Xin(辛安文)
2023-08-02 11:07 ` Manivannan Sadhasivam
2023-08-04  3:34   ` 回复: " Duke Xin(辛安文)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox