summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/snoc.h
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2020-05-04 12:03:52 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-05-05 10:36:03 +0300
commit1423f43273319d53474c70f8f775c8c05e8b690e (patch)
tree8d2db0a85479c510ce0b0723730449647295e424 /drivers/net/wireless/ath/ath10k/snoc.h
parent727fec790ead3d75e2735f66209949c2163523ea (diff)
ath10k: Add support for targets without trustzone
Add the support to attach and map iommu domain for targets which do not have the support of TrustZone. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1586971906-20985-4-git-send-email-pillair@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/snoc.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/snoc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/snoc.h b/drivers/net/wireless/ath/ath10k/snoc.h
index c05df45a3945..a3dd06f6ac62 100644
--- a/drivers/net/wireless/ath/ath10k/snoc.h
+++ b/drivers/net/wireless/ath/ath10k/snoc.h
@@ -55,6 +55,13 @@ struct regulator_bulk_data;
struct ath10k_snoc {
struct platform_device *dev;
struct ath10k *ar;
+ unsigned int use_tz;
+ struct ath10k_firmware {
+ struct device *dev;
+ dma_addr_t fw_start_addr;
+ struct iommu_domain *iommu_domain;
+ size_t mapped_mem_size;
+ } fw;
void __iomem *mem;
dma_addr_t mem_pa;
struct ath10k_snoc_target_info target_info;