summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/plat-versatile/include/plat/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/plat-versatile/include/plat/clock.h')
-rw-r--r--kernel/arch/arm/plat-versatile/include/plat/clock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/arm/plat-versatile/include/plat/clock.h b/kernel/arch/arm/plat-versatile/include/plat/clock.h
new file mode 100644
index 000000000..3cfb024cc
--- /dev/null
+++ b/kernel/arch/arm/plat-versatile/include/plat/clock.h
@@ -0,0 +1,15 @@
+#ifndef PLAT_CLOCK_H
+#define PLAT_CLOCK_H
+
+#include <asm/hardware/icst.h>
+
+struct clk_ops {
+ long (*round)(struct clk *, unsigned long);
+ int (*set)(struct clk *, unsigned long);
+ void (*setvco)(struct clk *, struct icst_vco);
+};
+
+int icst_clk_set(struct clk *, unsigned long);
+long icst_clk_round(struct clk *, unsigned long);
+
+#endif