Skip to content

Commit 84a5ae5

Browse files
SlarkXiaoMani-Sadhasivam
authored andcommitted
bus: mhi: host: pci_generic: Enable EDL trigger for Foxconn modems
All Foxconn modems support generic EDL trigger to flash the firmware. Hence, enable the EDL trigger using mhi_pci_dev_info::edl_trigger. 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 a7bc66f commit 84a5ae5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ static const struct mhi_controller_config modem_foxconn_sdx72_config = {
435435
static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
436436
.name = "foxconn-sdx55",
437437
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
438+
.edl_trigger = true,
438439
.config = &modem_foxconn_sdx55_config,
439440
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
440441
.dma_data_width = 32,
@@ -445,6 +446,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_sdx55_info = {
445446
static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
446447
.name = "foxconn-t99w175",
447448
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
449+
.edl_trigger = true,
448450
.config = &modem_foxconn_sdx55_config,
449451
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
450452
.dma_data_width = 32,
@@ -455,6 +457,7 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w175_info = {
455457
static const struct mhi_pci_dev_info mhi_foxconn_dw5930e_info = {
456458
.name = "foxconn-dw5930e",
457459
.edl = "qcom/sdx55m/foxconn/prog_firehose_sdx55.mbn",
460+
.edl_trigger = true,
458461
.config = &modem_foxconn_sdx55_config,
459462
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
460463
.dma_data_width = 32,
@@ -464,6 +467,8 @@ static const struct mhi_pci_dev_info mhi_foxconn_dw5930e_info = {
464467

465468
static const struct mhi_pci_dev_info mhi_foxconn_t99w368_info = {
466469
.name = "foxconn-t99w368",
470+
.edl = "qcom/sdx65m/foxconn/prog_firehose_lite.elf",
471+
.edl_trigger = true,
467472
.config = &modem_foxconn_sdx55_config,
468473
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
469474
.dma_data_width = 32,
@@ -473,6 +478,8 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w368_info = {
473478

474479
static const struct mhi_pci_dev_info mhi_foxconn_t99w373_info = {
475480
.name = "foxconn-t99w373",
481+
.edl = "qcom/sdx65m/foxconn/prog_firehose_lite.elf",
482+
.edl_trigger = true,
476483
.config = &modem_foxconn_sdx55_config,
477484
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
478485
.dma_data_width = 32,
@@ -482,6 +489,8 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w373_info = {
482489

483490
static const struct mhi_pci_dev_info mhi_foxconn_t99w510_info = {
484491
.name = "foxconn-t99w510",
492+
.edl = "qcom/sdx24m/foxconn/prog_firehose_sdx24.mbn",
493+
.edl_trigger = true,
485494
.config = &modem_foxconn_sdx55_config,
486495
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
487496
.dma_data_width = 32,
@@ -491,6 +500,8 @@ static const struct mhi_pci_dev_info mhi_foxconn_t99w510_info = {
491500

492501
static const struct mhi_pci_dev_info mhi_foxconn_dw5932e_info = {
493502
.name = "foxconn-dw5932e",
503+
.edl = "qcom/sdx65m/foxconn/prog_firehose_lite.elf",
504+
.edl_trigger = true,
494505
.config = &modem_foxconn_sdx55_config,
495506
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
496507
.dma_data_width = 32,

0 commit comments

Comments
 (0)