summaryrefslogtreecommitdiff
path: root/arch/arm/mach-vt8500/common.h
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2012-08-03 21:00:06 +1200
committerTony Prisk <linux@prisktech.co.nz>2012-09-21 19:24:00 +1200
commite9a91de7602a0a6999f23a2981db68b69aa695a7 (patch)
tree7f28d03f69835ead9232c7849c3b2ac1eb8fa9c4 /arch/arm/mach-vt8500/common.h
parent4e48b1c56019868b34efcd0e2334b7cdfac14092 (diff)
arm: vt8500: Update arch-vt8500 to devicetree support.
Merged existing board files to a single dt-capable file. Converted irq and timer code to devicetree. Removed existing device files that are no longer required with devicetree support. All existing platform devices are converted to devicetree nodes except PWM. Removed restart.c and moved code into vt8500.c to remove duplicate PMC code. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-vt8500/common.h')
-rw-r--r--arch/arm/mach-vt8500/common.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-vt8500/common.h b/arch/arm/mach-vt8500/common.h
new file mode 100644
index 000000000000..2b2419646e95
--- /dev/null
+++ b/arch/arm/mach-vt8500/common.h
@@ -0,0 +1,28 @@
+/* linux/arch/arm/mach-vt8500/dt_common.h
+ *
+ * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef __ARCH_ARM_MACH_VT8500_DT_COMMON_H
+#define __ARCH_ARM_MACH_VT8500_DT_COMMON_H
+
+#include <linux/of.h>
+
+void __init vt8500_timer_init(void);
+int __init vt8500_irq_init(struct device_node *node,
+ struct device_node *parent);
+
+/* defined in drivers/clk/clk-vt8500.c */
+void __init vtwm_clk_init(void __iomem *pmc_base);
+
+#endif