Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 15dacea

Browse files
SlarkXiaogregkh
authored andcommitted
bus: mhi: host: pci_generic: Update EDL firmware path for Foxconn modems
commit a7bc66f upstream. Foxconn uses a unique firmware for their MHI based modems. So the generic firmware from Qcom won't work. Hence, update the EDL firmware path to include the 'foxconn' subdirectory based on the modem SoC so that the Foxconn specific firmware could be used. Respective firmware will be upstreamed to linux-firmware repo. Cc: stable@vger.kernel.org # 6.11 Fixes: bf30a75 ("bus: mhi: host: Add support for Foxconn SDX72 modems") Signed-off-by: Slark Xiao <slark_xiao@163.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20240725022941.65948-1-slark_xiao@163.com [mani: Reworded the subject and description] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 123d11e commit 15dacea

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

drivers/bus/mhi/host/pci_generic.c

+5-8
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,7 @@ static const struct mhi_controller_config modem_foxconn_sdx72_config = {
433433

434434
static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
435435
.name = "foxconn-sdx55",
436-
.fw = "qcom/sdx55m/sbl1.mbn",
437-
.edl = "qcom/sdx55m/edl.mbn",
436+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
438437
.config = &modem_foxconn_sdx55_config,
439438
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
440439
.dma_data_width = 32,
@@ -444,8 +443,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
444443

445444
static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
446445
.name = "foxconn-t99w175",
447-
.fw = "qcom/sdx55m/sbl1.mbn",
448-
.edl = "qcom/sdx55m/edl.mbn",
446+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
449447
.config = &modem_foxconn_sdx55_config,
450448
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
451449
.dma_data_width = 32,
@@ -455,8 +453,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
455453

456454
static const struct mhi_pci_dev_info mhi_foxconn_dw5930e_info = {
457455
.name = "foxconn-dw5930e",
458-
.fw = "qcom/sdx55m/sbl1.mbn",
459-
.edl = "qcom/sdx55m/edl.mbn",
456+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
460457
.config = &modem_foxconn_sdx55_config,
461458
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
462459
.dma_data_width = 32,
@@ -502,7 +499,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_dw5932e_info = {
502499

503500
static const struct mhi_pci_dev_info mhi_foxconn_t99w515_info = {
504501
.name = "foxconn-t99w515",
505-
.edl = "fox/sdx72m/edl.mbn",
502+
.edl = "qcom/sdx72m/foxconn/edl.mbn",
506503
.edl_trigger = true,
507504
.config = &modem_foxconn_sdx72_config,
508505
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
@@ -513,7 +510,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w515_info = {
513510

514511
static const struct mhi_pci_dev_info mhi_foxconn_dw5934e_info = {
515512
.name = "foxconn-dw5934e",
516-
.edl = "fox/sdx72m/edl.mbn",
513+
.edl = "qcom/sdx72m/foxconn/edl.mbn",
517514
.edl_trigger = true,
518515
.config = &modem_foxconn_sdx72_config,
519516
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,

0 commit comments

Comments
 (0)