ath11k: use remoteproc only with AHB devices
authorGovind Singh <govinds@codeaurora.org>
Thu, 13 Aug 2020 09:04:26 +0000 (12:04 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 17 Aug 2020 10:07:17 +0000 (13:07 +0300)
commit1ff8ed786d5d8ed6d109affe6d732dfc85a45b2e
tree9a6ad1837db8068686b1281bf8887e9a4a11ddfa
parent7f4beda2ba0393ecb04b4ae3017f819041236c43
ath11k: use remoteproc only with AHB devices

QCA6390 and other PCI devices use MHI based firmware loading and do not use
remoteproc, so enable it only for AHB devices.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597309466-19688-11-git-send-email-kvalo@codeaurora.org
drivers/net/wireless/ath/ath11k/Kconfig
drivers/net/wireless/ath/ath11k/ahb.c
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/core.h
drivers/net/wireless/ath/ath11k/pci.c