summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.h
diff options
context:
space:
mode:
authorTaniya Das <tdas@codeaurora.org>2017-01-27 16:48:48 +0530
committerTaniya Das <tdas@codeaurora.org>2017-02-14 09:56:09 +0530
commite2ff0d9bb2df29c908c8766115765355d55b1601 (patch)
tree518f97870df005f17d6e9ace0662c02896211458 /drivers/clk/clk.h
parent2e47ba9a64f870431dd7709f454ba51dca0f89e9 (diff)
clk: qcom: Add support to log PLL/RCGR values in case of failure
In case of PLL lock errors or the RCGR fails to update the new configuration, add support to capture all the PLL and RCGR configuration registers as part of kernel logs. Change-Id: Ifb0cefafc30f8796ba17f2d388fb65ed41aae485 Signed-off-by: Taniya Das <tdas@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.h')
-rw-r--r--drivers/clk/clk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk.h b/drivers/clk/clk.h
index c95a327a9301..25bf4bc85f5c 100644
--- a/drivers/clk/clk.h
+++ b/drivers/clk/clk.h
@@ -25,6 +25,7 @@ void __clk_free_clk(struct clk *clk);
void clock_debug_print_enabled(void);
int clk_register_debug(struct clk_hw *hw, struct dentry *dentry);
void clk_debug_measure_add(struct clk_hw *hw, struct dentry *dentry);
+void clk_debug_print_hw(struct clk_core *clk, struct seq_file *f);
#else
/* All these casts to avoid ifdefs in clkdev... */