40fdfc613b19442c62f02b495ef8844d35e9b910
[openwrt/staging/wigyori.git] /
1 From 30001cf3a19a2f676a0e23c2c3a511c4a8903284 Mon Sep 17 00:00:00 2001
2 From: Daniele Palmas <dnlplm@gmail.com>
3 Date: Fri, 4 Aug 2023 11:40:39 +0200
4 Subject: [PATCH 11/13] bus: mhi: host: pci_generic: add support for Telit
5 FE990 modem
6
7 Add support for Telit FE990 that has the same configuration as FN990:
8
9 $ lspci -vv
10 04:00.0 Unassigned class [ff00]: Qualcomm Device 0308
11 Subsystem: Device 1c5d:2015
12
13 Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
14 Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
15 Link: https://lore.kernel.org/r/20230804094039.365102-1-dnlplm@gmail.com
16 [mani: minor update to commit subject and adjusted comment]
17 Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
18 ---
19 drivers/bus/mhi/host/pci_generic.c | 3 +++
20 1 file changed, 3 insertions(+)
21
22 --- a/drivers/bus/mhi/host/pci_generic.c
23 +++ b/drivers/bus/mhi/host/pci_generic.c
24 @@ -595,6 +595,9 @@ static const struct pci_device_id mhi_pc
25 /* Telit FN990 */
26 { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x1c5d, 0x2010),
27 .driver_data = (kernel_ulong_t) &mhi_telit_fn990_info },
28 + /* Telit FE990 */
29 + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0308, 0x1c5d, 0x2015),
30 + .driver_data = (kernel_ulong_t) &mhi_telit_fn990_info },
31 { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308),
32 .driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
33 { PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1001), /* EM120R-GL (sdx24) */