aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/dmtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/dmtimer.h')
-rw-r--r--arch/arm/plat-omap/include/plat/dmtimer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/dmtimer.h b/arch/arm/plat-omap/include/plat/dmtimer.h
index ad554d36866d..1751751862da 100644
--- a/arch/arm/plat-omap/include/plat/dmtimer.h
+++ b/arch/arm/plat-omap/include/plat/dmtimer.h
@@ -35,6 +35,7 @@
35#include <linux/clk.h> 35#include <linux/clk.h>
36#include <linux/delay.h> 36#include <linux/delay.h>
37#include <linux/io.h> 37#include <linux/io.h>
38#include <linux/platform_device.h>
38 39
39#ifndef __ASM_ARCH_DMTIMER_H 40#ifndef __ASM_ARCH_DMTIMER_H
40#define __ASM_ARCH_DMTIMER_H 41#define __ASM_ARCH_DMTIMER_H
@@ -62,6 +63,12 @@
62struct omap_dm_timer; 63struct omap_dm_timer;
63struct clk; 64struct clk;
64 65
66struct dmtimer_platform_data {
67 int (*set_timer_src)(struct platform_device *pdev, int source);
68 int timer_ip_version;
69 u32 needs_manual_reset:1;
70};
71
65struct omap_dm_timer *omap_dm_timer_request(void); 72struct omap_dm_timer *omap_dm_timer_request(void);
66struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id); 73struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id);
67void omap_dm_timer_free(struct omap_dm_timer *timer); 74void omap_dm_timer_free(struct omap_dm_timer *timer);
@@ -228,6 +235,7 @@ struct omap_dm_timer {
228 unsigned reserved:1; 235 unsigned reserved:1;
229 unsigned enabled:1; 236 unsigned enabled:1;
230 unsigned posted:1; 237 unsigned posted:1;
238 struct platform_device *pdev;
231}; 239};
232 240
233extern u32 sys_timer_reserved; 241extern u32 sys_timer_reserved;