Skip to content

Commit 7bce229

Browse files
dnlplmgregkh
authored andcommitted
bus: mhi: host: pci_generic: Add Telit FN990B40 modem support
commit 00559ba upstream. Add SDX72 based modem Telit FN990B40, reusing FN920C04 configuration. 01:00.0 Unassigned class [ff00]: Qualcomm Device 0309 Subsystem: Device 1c5d:201a Signed-off-by: Daniele Palmas <[email protected]> [mani: added sdx72 in the comment to identify the chipset] Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Fabio Porcedda <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4e3297e commit 7bce229

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,16 @@ static const struct mhi_pci_dev_info mhi_telit_fn920c04_info = {
734734
.edl_trigger = true,
735735
};
736736

737+
static const struct mhi_pci_dev_info mhi_telit_fn990b40_info = {
738+
.name = "telit-fn990b40",
739+
.config = &modem_telit_fn920c04_config,
740+
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
741+
.dma_data_width = 32,
742+
.sideband_wake = false,
743+
.mru_default = 32768,
744+
.edl_trigger = true,
745+
};
746+
737747
static const struct mhi_pci_dev_info mhi_netprisma_lcur57_info = {
738748
.name = "netprisma-lcur57",
739749
.edl = "qcom/prog_firehose_sdx24.mbn",
@@ -779,6 +789,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
779789
.driver_data = (kernel_ulong_t) &mhi_telit_fe990a_info },
780790
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308),
781791
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
792+
/* Telit FN990B40 (sdx72) */
793+
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x201a),
794+
.driver_data = (kernel_ulong_t) &mhi_telit_fn990b40_info },
782795
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309),
783796
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx75_info },
784797
{ PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1001), /* EM120R-GL (sdx24) */

0 commit comments

Comments
 (0)