summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/plat-versatile/include/plat
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/plat-versatile/include/plat')
-rw-r--r--kernel/arch/arm/plat-versatile/include/plat/clock.h15
-rw-r--r--kernel/arch/arm/plat-versatile/include/plat/platsmp.h14
-rw-r--r--kernel/arch/arm/plat-versatile/include/plat/sched_clock.h6
3 files changed, 35 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
diff --git a/kernel/arch/arm/plat-versatile/include/plat/platsmp.h b/kernel/arch/arm/plat-versatile/include/plat/platsmp.h
new file mode 100644
index 000000000..50fb83019
--- /dev/null
+++ b/kernel/arch/arm/plat-versatile/include/plat/platsmp.h
@@ -0,0 +1,14 @@
+/*
+ * linux/arch/arm/plat-versatile/include/plat/platsmp.h
+ *
+ * Copyright (C) 2011 ARM Ltd.
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+extern void versatile_secondary_startup(void);
+extern void versatile_secondary_init(unsigned int cpu);
+extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle);
diff --git a/kernel/arch/arm/plat-versatile/include/plat/sched_clock.h b/kernel/arch/arm/plat-versatile/include/plat/sched_clock.h
new file mode 100644
index 000000000..5c3e4fc9f
--- /dev/null
+++ b/kernel/arch/arm/plat-versatile/include/plat/sched_clock.h
@@ -0,0 +1,6 @@
+#ifndef ARM_PLAT_SCHED_CLOCK_H
+#define ARM_PLAT_SCHED_CLOCK_H
+
+void versatile_sched_clock_init(void __iomem *, unsigned long);
+
+#endif