aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2010-09-02 22:11:11 -0400
committerColin Cross <ccross@android.com>2011-02-21 02:36:49 -0500
commit2b84cb4faab698b1708ce841c554546b1c9b2261 (patch)
tree72429f0ab55dc3ec1e8b7b1a9c811b4b7c692892 /arch/arm/mach-tegra/clock.h
parent375b19cd34ea9b1ab338deac20b4bd2c553bf57b (diff)
ARM: tegra: clock: enable clk reset for non-peripheral clocks
Add a new 'reset' clk op. This can be provided for any clock, not just peripherals. Signed-off-by: Dima Zavin <dima@android.com> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h
index 083a4cfc6cf0..42f00c0af0de 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -86,6 +86,7 @@ struct clk_ops {
86 int (*set_parent)(struct clk *, struct clk *); 86 int (*set_parent)(struct clk *, struct clk *);
87 int (*set_rate)(struct clk *, unsigned long); 87 int (*set_rate)(struct clk *, unsigned long);
88 long (*round_rate)(struct clk *, unsigned long); 88 long (*round_rate)(struct clk *, unsigned long);
89 void (*reset)(struct clk *, bool);
89}; 90};
90 91
91enum clk_state { 92enum clk_state {