Merge "msm: bus: mhi: Add device info structure for sdx75"

This commit is contained in:
qctecmdr 2022-09-29 10:40:35 -07:00 committed by Gerrit - the friendly Code Review server
commit 034caeb492
2 changed files with 18 additions and 1 deletions

View File

@ -4,7 +4,7 @@ menu "MHI controllers"
config MHI_QCOM
tristate "MHI QCOM"
depends on MHI_BUS && MHI_BUS_MISC && QCOM_ESOC_MDM_DRV
depends on MHI_BUS && MHI_BUS_MISC
help
If you say yes to this option, MHI bus support for QCOM modem chipsets
will be enabled. QCOM PCIe based modems uses MHI as the communication

View File

@ -249,6 +249,21 @@ static const struct mhi_pci_dev_info mhi_qcom_sdx65_info = {
.drv_support = false,
};
static const struct mhi_pci_dev_info mhi_qcom_sdx75_info = {
.device_id = 0x0309,
.name = "esoc0",
.fw_image = "sdx75m/xbl.elf",
.edl_image = "sdx75m/edl.mbn",
.config = &modem_qcom_sdx65_mhi_config,
.bar_num = MHI_PCI_BAR_NUM,
.dma_data_width = 64,
.allow_m1 = false,
.skip_forced_suspend = true,
.sfr_support = true,
.timesync = true,
.drv_support = false,
};
static const struct mhi_pci_dev_info mhi_qcom_debug_info = {
.device_id = MHI_PCIE_DEBUG_ID,
.name = "qcom-debug",
@ -267,6 +282,8 @@ static const struct mhi_pci_dev_info mhi_qcom_debug_info = {
static const struct pci_device_id mhi_pcie_device_id[] = {
{ PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0308),
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info },
{ PCI_DEVICE(MHI_PCIE_VENDOR_ID, 0x0309),
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx75_info },
{ PCI_DEVICE(MHI_PCIE_VENDOR_ID, MHI_PCIE_DEBUG_ID),
.driver_data = (kernel_ulong_t) &mhi_qcom_debug_info },
{ }