Commit 63855e3d authored by Govind Singh's avatar Govind Singh Committed by Kalle Valo

ath10k: Add SNOC bus type for WCN3990 target

WCN3990 is integrated chipset which uses system NOC.
Add SNOC bus type and related definitions.
Signed-off-by: default avatarGovind Singh <govinds@qti.qualcomm.com>
Signed-off-by: default avatarRakesh Pillai <pillair@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 2a1e1ad3
...@@ -1577,6 +1577,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name, ...@@ -1577,6 +1577,7 @@ static void ath10k_core_get_fw_name(struct ath10k *ar, char *fw_name,
break; break;
case ATH10K_BUS_PCI: case ATH10K_BUS_PCI:
case ATH10K_BUS_AHB: case ATH10K_BUS_AHB:
case ATH10K_BUS_SNOC:
scnprintf(fw_name, fw_name_len, "%s-%d.bin", scnprintf(fw_name, fw_name_len, "%s-%d.bin",
ATH10K_FW_FILE_BASE, fw_api); ATH10K_FW_FILE_BASE, fw_api);
break; break;
......
...@@ -92,6 +92,7 @@ enum ath10k_bus { ...@@ -92,6 +92,7 @@ enum ath10k_bus {
ATH10K_BUS_AHB, ATH10K_BUS_AHB,
ATH10K_BUS_SDIO, ATH10K_BUS_SDIO,
ATH10K_BUS_USB, ATH10K_BUS_USB,
ATH10K_BUS_SNOC,
}; };
static inline const char *ath10k_bus_str(enum ath10k_bus bus) static inline const char *ath10k_bus_str(enum ath10k_bus bus)
...@@ -105,6 +106,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus) ...@@ -105,6 +106,8 @@ static inline const char *ath10k_bus_str(enum ath10k_bus bus)
return "sdio"; return "sdio";
case ATH10K_BUS_USB: case ATH10K_BUS_USB:
return "usb"; return "usb";
case ATH10K_BUS_SNOC:
return "snoc";
} }
return "unknown"; return "unknown";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment