Skip to content

Commit a7bc66f

Browse files
SlarkXiaoMani-Sadhasivam
authored andcommitted
bus: mhi: host: pci_generic: Update EDL firmware path for Foxconn modems
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: [email protected] # 6.11 Fixes: bf30a75 ("bus: mhi: host: Add support for Foxconn SDX72 modems") Signed-off-by: Slark Xiao <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mani: Reworded the subject and description] Signed-off-by: Manivannan Sadhasivam <[email protected]>
1 parent 969db85 commit a7bc66f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,7 @@ static const struct mhi_controller_config modem_foxconn_sdx72_config = {
434434

435435
static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
436436
.name = "foxconn-sdx55",
437-
.fw = "qcom/sdx55m/sbl1.mbn",
438-
.edl = "qcom/sdx55m/edl.mbn",
437+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
439438
.config = &modem_foxconn_sdx55_config,
440439
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
441440
.dma_data_width = 32,
@@ -445,8 +444,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
445444

446445
static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
447446
.name = "foxconn-t99w175",
448-
.fw = "qcom/sdx55m/sbl1.mbn",
449-
.edl = "qcom/sdx55m/edl.mbn",
447+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
450448
.config = &modem_foxconn_sdx55_config,
451449
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
452450
.dma_data_width = 32,
@@ -456,8 +454,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
456454

457455
static const struct mhi_pci_dev_info mhi_foxconn_dw5930e_info = {
458456
.name = "foxconn-dw5930e",
459-
.fw = "qcom/sdx55m/sbl1.mbn",
460-
.edl = "qcom/sdx55m/edl.mbn",
457+
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
461458
.config = &modem_foxconn_sdx55_config,
462459
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
463460
.dma_data_width = 32,
@@ -503,7 +500,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_dw5932e_info = {
503500

504501
static const struct mhi_pci_dev_info mhi_foxconn_t99w515_info = {
505502
.name = "foxconn-t99w515",
506-
.edl = "fox/sdx72m/edl.mbn",
503+
.edl = "qcom/sdx72m/foxconn/edl.mbn",
507504
.edl_trigger = true,
508505
.config = &modem_foxconn_sdx72_config,
509506
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
@@ -514,7 +511,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w515_info = {
514511

515512
static const struct mhi_pci_dev_info mhi_foxconn_dw5934e_info = {
516513
.name = "foxconn-dw5934e",
517-
.edl = "fox/sdx72m/edl.mbn",
514+
.edl = "qcom/sdx72m/foxconn/edl.mbn",
518515
.edl_trigger = true,
519516
.config = &modem_foxconn_sdx72_config,
520517
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,

0 commit comments

Comments
 (0)