summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/ahb.h
diff options
context:
space:
mode:
authorRaja Mani <rmani@qti.qualcomm.com>2016-01-27 10:54:29 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2016-01-28 09:47:24 +0100
commit14854bfd9daaa20778db64f224a957c2abaab6fe (patch)
treedc0d96796f9466149667c49af99674747cfe7339 /drivers/net/wireless/ath/ath10k/ahb.h
parentath10k: add clock ctrl related functions in ahb (diff)
downloadlinux-14854bfd9daaa20778db64f224a957c2abaab6fe.tar.xz
linux-14854bfd9daaa20778db64f224a957c2abaab6fe.zip
ath10k: add reset ctrl related functions in ahb
To perform reset on qca4019 wifi, multiple reset lines needs to be toggled in a sequence with help of reset controller support in the kernel. This patch adds functions to reset control init/deinit and release reset. Signed-off-by: Raja Mani <rmani@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/ahb.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/ahb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ahb.h b/drivers/net/wireless/ath/ath10k/ahb.h
index 753b4330075a..2904b7bc9459 100644
--- a/drivers/net/wireless/ath/ath10k/ahb.h
+++ b/drivers/net/wireless/ath/ath10k/ahb.h
@@ -29,6 +29,12 @@ struct ath10k_ahb {
struct clk *cmd_clk;
struct clk *ref_clk;
struct clk *rtc_clk;
+
+ struct reset_control *core_cold_rst;
+ struct reset_control *radio_cold_rst;
+ struct reset_control *radio_warm_rst;
+ struct reset_control *radio_srif_rst;
+ struct reset_control *cpu_init_rst;
};
#ifdef CONFIG_ATH10K_AHB