diff options
author | Miguel Vadillo <vadillo@ti.com> | 2011-04-07 08:43:21 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-04-07 08:43:21 +0100 |
commit | 687900ec98f7eef9f530334882790424be6ed7fd (patch) | |
tree | bec2ce33fa1f0b7b0f3794674416ccb1cf3cd5c7 /arch/arm/plat-omap/include | |
parent | 7f711a9b3c15e39d8c1c1055188810460f961a23 (diff) |
omap: remoteproc: use gptimer 4 and 9 as ipu clk
Enable gptimer 4 and 9 to be used as ipu clk. Gptimers will
be requested when calling rproc_start() and released them
when calling rproc_stop(), also when hibernating ipu the
gptimers will be stop/start to ensure proper pm functionality.
The gptimer numbers are configurable, currently 4 will be used
by ipu_c0 and 9 by ipu_c1.
Change-Id: I9424991e34e786ab2f57a1dc625ae801290fd7b6
Reported-by: Paul Hunt <hunt@ti.com>
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r-- | arch/arm/plat-omap/include/plat/remoteproc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/plat/remoteproc.h b/arch/arm/plat-omap/include/plat/remoteproc.h index 3c579927416..5ed9bc8376d 100644 --- a/arch/arm/plat-omap/include/plat/remoteproc.h +++ b/arch/arm/plat-omap/include/plat/remoteproc.h @@ -90,7 +90,8 @@ struct omap_rproc_platform_data { struct omap_rproc_ops *ops; char *name; char *oh_name; - int timer_id; + int timer_hib_id; + int timer_clk_id; }; struct omap_rproc { @@ -102,8 +103,10 @@ struct omap_rproc { int minor; struct blocking_notifier_head notifier; struct mutex lock; - int timer_id; + int timer_hib_id; + int timer_clk_id; struct omap_dm_timer *dmtimer; + struct omap_dm_timer *dmtimer_clk; struct list_head event_list; spinlock_t event_lock; }; |