summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2010-09-02 19:11:11 -0700
committerColin Cross <ccross@android.com>2010-10-06 16:29:06 -0700
commitb63adaa65d8e312ef9e2ec60e276f0cbaa946d8c (patch)
tree1ec079973dee438e3db9a473689d05917a0f0392 /arch/arm/mach-tegra/clock.h
parent33264d0f2cc059c0312a267d9e2fb9eb3f1bc3e7 (diff)
ARM: tegra: enable clk reset for non-peripheral clocks
Add a new 'reset' clk op. This can be provided for any clock, not just peripherals. Change-Id: I0742cfad1587ddc006066c7fa9bc22f180c04e6f Signed-off-by: Dima Zavin <dima@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 94fd859770f1..096922c4d664 100644
--- a/arch/arm/mach-tegra/clock.h
+++ b/arch/arm/mach-tegra/clock.h
@@ -86,6 +86,7 @@ struct clk_ops {
int (*set_parent)(struct clk *, struct clk *);
int (*set_rate)(struct clk *, unsigned long);
long (*round_rate)(struct clk *, unsigned long);
+ void (*reset)(struct clk *, bool);
};
enum clk_state {