Skip to content

Commit 83e83be

Browse files
authored
Merge pull request #208 from ziyuezhang-123/sdx35
FROMLIST: bus: mhi: host: pci_generic: Add Qualcomm SDX35 modem
2 parents 1064dfd + 1013672 commit 83e83be

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/bus/mhi/host/pci_generic.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,16 @@ static const struct mhi_pci_dev_info mhi_qcom_sdx55_info = {
423423
.sideband_wake = false,
424424
};
425425

426+
static const struct mhi_pci_dev_info mhi_qcom_sdx35_info = {
427+
.name = "qcom-sdx35m",
428+
.config = &modem_qcom_v2_mhiv_config,
429+
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
430+
.dma_data_width = 32,
431+
.mru_default = 32768,
432+
.sideband_wake = false,
433+
.edl_trigger = true,
434+
};
435+
426436
static const struct mhi_pci_dev_info mhi_qcom_sdx24_info = {
427437
.name = "qcom-sdx24",
428438
.edl = "qcom/prog_firehose_sdx24.mbn",
@@ -914,6 +924,8 @@ static const struct pci_device_id mhi_pci_id_table[] = {
914924
/* Telit FN920C04 (sdx35) */
915925
{PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x011a, 0x1c5d, 0x2020),
916926
.driver_data = (kernel_ulong_t) &mhi_telit_fn920c04_info },
927+
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x011a),
928+
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx35_info },
917929
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0304),
918930
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx24_info },
919931
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, PCI_VENDOR_ID_QCOM, 0x010c),

0 commit comments

Comments
 (0)