Skip to content

Commit 1013672

Browse files
krishnachaitanya-linuxZiyue Zhang
authored andcommitted
FROMLIST: bus: mhi: host: pci_generic: Add Qualcomm SDX35 modem
Add support for sdx35 modem. Similar to SDX75, SDX35 can take longer to transition to ready during power up, so use modem_qcom_v2_mhiv_config configurations. 01:00.0 Unassigned class [ff00]: Qualcomm Device 011a Subsystem: Qualcomm Device 011a Link: https://lore.kernel.org/all/20260123-mhi_sdx35-v1-1-79440abf0c92@oss.qualcomm.com/ Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>
1 parent cdc4617 commit 1013672

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",
@@ -904,6 +914,8 @@ static const struct pci_device_id mhi_pci_id_table[] = {
904914
/* Telit FN920C04 (sdx35) */
905915
{PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x011a, 0x1c5d, 0x2020),
906916
.driver_data = (kernel_ulong_t) &mhi_telit_fn920c04_info },
917+
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x011a),
918+
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx35_info },
907919
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0304),
908920
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx24_info },
909921
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0306, PCI_VENDOR_ID_QCOM, 0x010c),

0 commit comments

Comments
 (0)