Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bus: mhi: host: pci_generic: Add Foxconn T99W760 modem

T99W760 modem is based on Qualcomm SDX35 chipset. It uses the same channel
configurations of Foxconn SDX61 modem. Hence, add support for it by reusing
the 'modem_foxconn_sdx61_config' config structure.

The EDL firmware for this modem has been pushed to linux-firmware.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
Link: https://patch.msgid.link/20251119105615.48295-2-slark_xiao@163.com

authored by

Slark Xiao and committed by
Manivannan Sadhasivam
ac35e04f 9e24bdfe

+13
+13
drivers/bus/mhi/host/pci_generic.c
··· 663 663 .sideband_wake = false, 664 664 }; 665 665 666 + static const struct mhi_pci_dev_info mhi_foxconn_t99w760_info = { 667 + .name = "foxconn-t99w760", 668 + .edl = "qcom/sdx35/foxconn/xbl_s_devprg_ns.melf", 669 + .edl_trigger = true, 670 + .config = &modem_foxconn_sdx61_config, 671 + .bar_num = MHI_PCI_DEFAULT_BAR_NUM, 672 + .dma_data_width = 32, 673 + .mru_default = 32768, 674 + .sideband_wake = false, 675 + }; 676 + 666 677 static const struct mhi_channel_config mhi_mv3x_channels[] = { 667 678 MHI_CHANNEL_CONFIG_UL(0, "LOOPBACK", 64, 0), 668 679 MHI_CHANNEL_CONFIG_DL(1, "LOOPBACK", 64, 0), ··· 1021 1010 /* DW5934e(sdx72), Non-eSIM */ 1022 1011 { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe11e), 1023 1012 .driver_data = (kernel_ulong_t) &mhi_foxconn_dw5934e_info }, 1013 + { PCI_DEVICE(PCI_VENDOR_ID_FOXCONN, 0xe123), 1014 + .driver_data = (kernel_ulong_t) &mhi_foxconn_t99w760_info }, 1024 1015 /* MV31-W (Cinterion) */ 1025 1016 { PCI_DEVICE(PCI_VENDOR_ID_THALES, 0x00b3), 1026 1017 .driver_data = (kernel_ulong_t) &mhi_mv31_info },