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

Add the device information structure for sdx75 along with
its device id, firmware and edl image paths.
Remove the kconfig dependency on the esoc driver.

Change-Id: Iea7b3e82f274804d781bdbc333b36c64784eef33
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
This commit is contained in:
Prudhvi Yarlagadda 2022-09-13 18:09:22 -07:00 committed by Gerrit - the friendly Code Review server
parent 7b69ee398d
commit bc261dbf64
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 },
{ }