[PATCH] dmtimer: hwmod: add omap2420 database

2010-08-13 Thread Tarun Kanti DebBarma
This patch adds hwmod database for omap2420. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t

[PATCHv2 13/13] dmtimer: hwmod: OMAP1: device registration

2010-08-13 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com This patch converts OMAP1 dual mode timers into platform devices, adds support for registering them through generic linux platform device layer. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti

[PATCH v12/13] dmtimer: hwmod: OMAP2: add device names to flck nodes

2010-08-13 Thread Tarun Kanti DebBarma
-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock2420_data.c | 12 arch/arm/mach-omap2/clock2430_data.c | 12 2 files changed, 24

[PATCHv2 11/13] dmtimer: hwmod: add omap2420 database

2010-08-13 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com This patch adds hwmod database for omap2420. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[PATCHv2 10/13] dmtimer: hwmod: add omap2430 database

2010-08-13 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com This patch adds hwmod database for omap2430. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[PATCHv2 9/13] dmtimer: hwmod: OMAP3: add device names to flck nodes

2010-08-13 Thread Tarun Kanti DebBarma
-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock3xxx_data.c | 24 1 files changed, 12 insertions(+), 12 deletions(-) mode change 100644

[PATCHv2 8/13] dmtimer: OMAP: multi-platform register access support

2010-08-13 Thread Tarun Kanti DebBarma
Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/plat-omap/dmtimer.c | 51 -- 1 files changed, 39 insertions(+), 12

[PATCH 7/13] dmtimer: OMAP: multi-platform register map definitions

2010-08-13 Thread Tarun Kanti DebBarma
. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t

[PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-08-13 Thread Tarun Kanti DebBarma
) extract device id from hwmod structure's name field. (4) free platform data at the end of successful platform device registration Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Tarun Kanti DebBarma

[PATCHv2 5/13] dmtimer: hwmod: OMAP: conversion to platform driver

2010-08-13 Thread Tarun Kanti DebBarma
. (4) pm_runtime support (5) corrected un-even number of pm_runtime_enable() associated with early millisecond timers Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Rajendra Nayak rna...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka

[PATCH 4/13] dmtimer: hwmod: OMAP: api to read omap_hwmod _clk

2010-08-13 Thread Tarun Kanti DebBarma
This patch adds the omap_hwmod_get_clk() to access the _clk field needed while setting clock sources of the timers. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma

[PATCHv 2/13] dmtimer: hwmod: add omap3xxx database

2010-08-13 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com This patch adds hwmod database for omap3xxx. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil

[PATCHv2 1/13] dmtimer: hwmod: OMAP4: add device names to flck nodes

2010-08-13 Thread Tarun Kanti DebBarma
-by: Rajendra Nayak rna...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock44xx_data.c | 22 +++--- 1 files changed, 11

[PATCHv2 0/13] OMAP: dmtimer: hwmod

2010-08-13 Thread Tarun Kanti DebBarma
/pm-wip/hwmods-omap4 Test info: Tested on OMAP4430SDP, OMAP3630SDP Tarun Kanti DebBarma (13): dmtimer: hwmod: OMAP4: add device names to flck nodes dmtimer: hwmod: add omap3xxx database dmtimer: hwmod: OMAP: rev field to identify timer version dmtimer: hwmod: OMAP: api to read omap_hwmod

[PATCHv2 0/13] OMAP: dmtimer: hwmod

2010-08-13 Thread Tarun Kanti DebBarma
/pm-wip/hwmods-omap4 Test info: Tested on OMAP4430SDP, OMAP3630SDP Tarun Kanti DebBarma (13): dmtimer: hwmod: OMAP4: add device names to flck nodes dmtimer: hwmod: add omap3xxx database dmtimer: hwmod: OMAP: rev field to identify timer version dmtimer: hwmod: OMAP: api to read omap_hwmod

[PATCHv3 0/17] OMAP dmtimer hwmod

2010-09-20 Thread Tarun Kanti DebBarma
* OMAP4430SDP OMAP3630SDP OMAP3430SDP OMAP2430SDP OMAP1710SDP(Bootup) Tarun Kanti DebBarma (17): OMAP2/3/4:dmtimer:add device names to flck nodes dmtimer: infrastructure to support hwmod dmtimer: add omap2420 hwmod database dmtimer: add omap2430 hwmod database dmtimer: add omap3xxx

[PATCHv3 1/17] OMAP2/3/4:dmtimer:add device names to flck nodes

2010-09-20 Thread Tarun Kanti DebBarma
-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock2420_data.c | 26 +++--- arch/arm/mach-omap2

[PATCHv3 2/17] dmtimer: infrastructure to support hwmod

2010-09-20 Thread Tarun Kanti DebBarma
This patch introduces data structures and new fields on existing data structures to support dmtimer conversion to platform driver and support hwmod database for the diferent OMAP platforms. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Signed

[PATCHv3 3/17] dmtimer: add omap2420 hwmod database

2010-09-20 Thread Tarun Kanti DebBarma
...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 622 1 files

[PATCHv3 4/17] dmtimer: add omap2430 hwmod database

2010-09-20 Thread Tarun Kanti DebBarma
...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 620 1 files

[PATCHv3 5/17] dmtimer: add omap3xxx hwmod database

2010-09-20 Thread Tarun Kanti DebBarma
...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 705 1 files

[PATCHv3 6/17] dmtimer: add omap44xx hwmod database

2010-09-20 Thread Tarun Kanti DebBarma
...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 660 1 files

[PATCHv3 7/17] dmtimer: use list instead of static array

2010-09-20 Thread Tarun Kanti DebBarma
This patch converts the use of dmtimers static array in functions into list structure. Please note that the static arrays will be completely removed in subsequent patches when dmtimer is converted into a platform driver. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b

[PATCHv3 8/17] dmtimer: register mappings moved to hwmod database

2010-09-20 Thread Tarun Kanti DebBarma
that the cleanup of register map from plat-omap will be removed in later patch after conversion to platform driver. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Cc: Cousson, Benoit b-cous

[PATCHv3 9/17] OMAP: dmtimer platform driver

2010-09-20 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com This patch adds dmtimer platform driver which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti

[PATCHv3 10/17] OMAP1: dmtimer conversion to platform devices

2010-09-20 Thread Tarun Kanti DebBarma
-omap1/dmtimer.c b/arch/arm/mach-omap1/dmtimer.c new file mode 100644 index 000..75ce978 --- /dev/null +++ b/arch/arm/mach-omap1/dmtimer.c @@ -0,0 +1,174 @@ +/** + * OMAP1 Dual-Mode Timers + * + * Copyright (C) 2010 Texas Instruments, Inc. + * Thara Gopinath th...@ti.com + * Tarun Kanti DebBarma

[PATCHv3 11/17] dmtimer: early boot infrastructure

2010-09-20 Thread Tarun Kanti DebBarma
Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 91 arch/arm/mach-omap2

[PATCHv3 12/17] OMAP2/3/4: dmtimers: convert to platform devices

2010-09-20 Thread Tarun Kanti DebBarma
early boot when pm_runtime framework is not completely up and running. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman

[PATCHv3 13/17] dmtimer: switch-over to platform device driver with hwmod

2010-09-20 Thread Tarun Kanti DebBarma
and platform data. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2

[PATCHv3 14/17] dmtimer pm_runtime support

2010-09-20 Thread Tarun Kanti DebBarma
This patch adds pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable / disable clocks directly in the code during early boot. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Tarun Kanti

[PATCHv3 15/17] dmtimer: OMAP4 specific change in plat-omap

2010-09-20 Thread Tarun Kanti DebBarma
This patch updates the plat-omap dmtimer code to support OMAP4 specific feature. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Cc

[PATCHv3 16/17] dmtimer: clean redundant code

2010-09-20 Thread Tarun Kanti DebBarma
This patch removes the code which are no longer needed after conversion to platform driver and incorporation of necessary changes in howmod database. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul

[PATCHv3 17/17] dmtimer: remove OCP config code from plat-omap

2010-09-20 Thread Tarun Kanti DebBarma
-omap (2) clockactivity configuration is not present in the present hwmod database. Therefore this filed is initialized to '1' in respective database. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Cc: Cousson, Benoit b-cous...@ti.com Cc: Paul

[PATCHv4 0/14] dmtimer adaptation to platform_driver

2010-11-19 Thread Tarun Kanti DebBarma
) initialize timer_ip_type and register offsets in platform data structure. (12) some more comments/logs Baseline: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git origin/master Tarun Kanti DebBarma (14): OMAP2+: dmtimer: add device names to flck nodes OMAP: dmtimer

[PATCHv4 2/14] OMAP: dmtimer: infrastructure to support hwmod

2010-11-19 Thread Tarun Kanti DebBarma
- early initialization interface + * + * function interface called first to start dmtimer early initialization. + * + * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ + * Tarun Kanti DebBarma tarun.ka...@ti.com + * + * Copyright (C) 2010 Texas Instruments Incorporated + * Thara

[PATCHv4 3/14] OMAP2420: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add hwmod database for OMAP2420. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 633 1 files changed, 633 insertions(+), 0

[PATCHv4 10/14] OMAP: dmtimer: access routines to interrupt registers

2010-11-19 Thread Tarun Kanti DebBarma
Add low level read/write routines to access dmtimer interrupt registers. These routines would be used later when we support OMAP 4 new IP revision. When that happens the present read/write routines would be used to access dmtimer functional registers only. Signed-off-by: Tarun Kanti DebBarma

[PATCHv4 5/14] OMAP3: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add hwmod database for OMAP3. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 674 1 files changed, 674 insertions(+), 0 deletions

[PATCHv4 14/14] OMAP: dmtimer: pm_runtime support

2010-11-19 Thread Tarun Kanti DebBarma
Add pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable/disable clocks directly in the code during early boot. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: added pm_runtime

[PATCHv4 12/14] OMAP: dmtimer: switch-over to platform device driver

2010-11-19 Thread Tarun Kanti DebBarma
. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/clock2420_data.c |2 +- arch/arm/mach-omap2/clock2430_data.c |2 +- arch/arm/mach-omap2/clock3xxx_data.c |2 +- arch/arm/mach-omap2/clock44xx_data.c |2 +- arch

[PATCHv4 13/14] OMAP: dmtimer: remove reset function

2010-11-19 Thread Tarun Kanti DebBarma
reset is handled by hwmod framework and so removing it from the code. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/plat-omap/dmtimer.c | 42 ++ 1 files changed, 2 insertions(+), 40

[PATCHv4 1/14] OMAP2+: dmtimer: add device names to flck nodes

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add device name to OMAP2 dmtimer fclk nodes so that the fclk nodes can be retrieved by doing a clk_get with the corresponding device pointers or device names. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com

[PATCHv4 6/14] OMAP4: dmtimer: add hwmod database

2010-11-19 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add hwmod database for OMAP4. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 622 1 files changed, 622 insertions(+), 0

[PATCHv4 11/14] OMAP2+: dmtimer: convert to platform devices

2010-11-19 Thread Tarun Kanti DebBarma
pm_runtime framework is not completely up and running. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: pm_runtime logic] Signed-off-by: Partha Basak p-bas...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2

[PATCHv4 9/14] OMAP1: dmtimer: conversion to platform devices

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach

[PATCHv4 7/14] OMAP: dmtimer: use list instead of static array

2010-11-19 Thread Tarun Kanti DebBarma
Convert dmtimers static array in functions into list structure. Please note that the static arrays will be completely removed in subsequent patches when dmtimer is converted to platform driver. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap/dmtimer.c | 67

[PATCHv4 8/14] OMAP: dmtimer: platform driver

2010-11-19 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap

[PATCH v5 1/12] OMAP2+: dmtimer: add device names to flck nodes

2010-12-06 Thread Tarun Kanti DebBarma
that each patch compiles and boots. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/clock2420_data.c | 58

[PATCH v5 6/12] OMAP: dmtimer: infrastructure to support hwmod

2010-12-06 Thread Tarun Kanti DebBarma
/ + * Tarun Kanti DebBarma tarun.ka...@ti.com + * Thara Gopinath th...@ti.com + * + * 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. + * + * This program is distributed

[PATCH v5 8/12] OMAP2+: dmtimer: convert to platform devices

2010-12-06 Thread Tarun Kanti DebBarma
is not completely up and running. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/dmtimer.c | 174

[PATCH v5 5/12] OMAP4: hwmod data: add dmtimer

2010-12-06 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add dmtimer data. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 624 1

[PATCH v5 12/12] OMAP: dmtimer: add timeout to low-level routines

2010-12-06 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

[PATCH v5 9/12] OMAP: dmtimer: platform driver

2010-12-06 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Cousson

[PATCH v5 4/12] OMAP3: hwmod data: add dmtimer

2010-12-06 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

[PATCH v5 0/12] dmtimer adaptation to platform_driver

2010-12-06 Thread Tarun Kanti DebBarma
offsets in platform data structure. (12) some more comments/logs Tarun Kanti DebBarma (13): OMAP2+: dmtimer: add device names to flck nodes OMAP: dmtimer: infrastructure to support hwmod OMAP2420: hwmod data: add dmtimer OMAP2430: hwmod data: add dmtimer OMAP3: hwmod data: add dmtimer

[PATCH v5 7/12] OMAP1: dmtimer: conversion to platform devices

2010-12-06 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Cousson

[PATCH v5 11/12] OMAP: dmtimer: pm_runtime support

2010-12-06 Thread Tarun Kanti DebBarma
Add pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable/disable clocks directly in the code during early boot. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: added pm_runtime

[PATCH v5 10/12] OMAP: dmtimer: switch-over to platform device driver

2010-12-06 Thread Tarun Kanti DebBarma
. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/clock2420_data.c |2 +- arch/arm/mach-omap2/clock2430_data.c |2 +- arch/arm/mach-omap2/clock3xxx_data.c

[PATCH v5 2/12] OMAP2420: hwmod data: add dmtimer

2010-12-06 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c

[PATCH v5 3/12] OMAP2430: hwmod data: add dmtimer

2010-12-06 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2430_data.c

[PATCH v6 0/12] dmtimer adaptation to platform_driver

2010-12-14 Thread Tarun Kanti DebBarma
Kanti DebBarma (4): OMAP2+: dmtimer: convert to platform devices OMAP: dmtimer: switch-over to platform device driver OMAP: dmtimer: pm_runtime support OMAP: dmtimer: add timeout to low-level routines Thara Gopinath (6): OMAP2+: dmtimer: add device names to flck nodes OMAP2420: hwmod data

[PATCH v6 2/12] OMAP2420: hwmod data: add dmtimer

2010-12-14 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c

[PATCH v6 12/12] OMAP2: dmtimer: set wakeup enable explicitly in plat

2010-12-14 Thread Tarun Kanti DebBarma
For some reason the wakeup enable bit is not getting set on OMAP2430, OMAP2420. This is inspite of the fact that SYSC_HAS_ENAWAKEUP flag is present in the hwmod database. Until the reason is found we need this patch to boot on the above platforms. Signed-off-by: Tarun Kanti DebBarma tarun.ka

[PATCH v6 9/12] OMAP: dmtimer: switch-over to platform device driver

2010-12-14 Thread Tarun Kanti DebBarma
. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/clock2420_data.c |2 +- arch/arm/mach-omap2/clock2430_data.c |2 +- arch/arm/mach-omap2/clock3xxx_data.c

[PATCH v6 11/12] OMAP: dmtimer: add timeout to low-level routines

2010-12-14 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

[PATCH v6 5/12] OMAP4: hwmod data: add dmtimer

2010-12-14 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add dmtimer data. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 623

[PATCH v6 10/12] OMAP: dmtimer: pm_runtime support

2010-12-14 Thread Tarun Kanti DebBarma
Add pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable/disable clocks directly in the code during early boot. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: added pm_runtime

[PATCH v6 8/12] OMAP: dmtimer: platform driver

2010-12-14 Thread Tarun Kanti DebBarma
Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked

[PATCH v6 7/12] OMAP2+: dmtimer: convert to platform devices

2010-12-14 Thread Tarun Kanti DebBarma
is not completely up and running. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/dmtimer.c | 194

[PATCH v6 6/12] OMAP1: dmtimer: conversion to platform devices

2010-12-14 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed

[PATCH v6 3/12] OMAP2430: hwmod data: add dmtimer

2010-12-14 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2430_data.c

[PATCH v6 1/12] OMAP2+: dmtimer: add device names to flck nodes

2010-12-14 Thread Tarun Kanti DebBarma
that each patch compiles and boots. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/clock2420_data.c | 58

[PATCH v7 0/12] dmtimer adaptation to platform_driver

2010-12-20 Thread Tarun Kanti DebBarma
timer_ip_type and register offsets in platform data structure. (12) some more comments/logs Cousson, Benoit (1): OMAP4: hwmod data: add dmtimer Tarun Kanti DebBarma (5): OMAP2+: dmtimer: convert to platform devices OMAP: dmtimer: switch-over to platform device driver OMAP: dmtimer: pm_runtime

[PATCH v7 8/12] OMAP: dmtimer: platform driver

2010-12-20 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed

[PATCH v7 11/12] OMAP: dmtimer: add timeout to low-level routines

2010-12-20 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

[PATCH v7 1/12] OMAP2+: dmtimer: add device names to flck nodes

2010-12-20 Thread Tarun Kanti DebBarma
that each patch compiles and boots. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/clock2420_data.c | 58

[PATCH v7 5/12] OMAP4: hwmod data: add dmtimer

2010-12-20 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add dmtimer data. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 623

[PATCH v7 7/12] OMAP2+: dmtimer: convert to platform devices

2010-12-20 Thread Tarun Kanti DebBarma
is not completely up and running. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Varadarajan, Charulatha ch...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/dmtimer.c | 194

[PATCH] OMAP2+: hwmod: incorrect computation of autoidle_mask

2011-01-03 Thread Tarun Kanti DebBarma
-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index 5a30658..da49b56 100644 --- a/arch

[PATCH v8 0/11] dmtimer adaptation to platform_driver

2011-01-05 Thread Tarun Kanti DebBarma
and register offsets in platform data structure. (12) some more comments/logs Tarun Kanti DebBarma (11): OMAP2+: dmtimer: add device names to flck nodes OMAP2420: hwmod data: add dmtimer OMAP2430: hwmod data: add dmtimer OMAP3: hwmod data: add dmtimer OMAP4: hwmod data: add dmtimer OMAP1

[PATCH v8 2/11] OMAP2420: hwmod data: add dmtimer

2011-01-05 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2420_data.c | 634 arch/arm/plat-omap

[PATCH v8 3/11] OMAP2430: hwmod data: add dmtimer

2011-01-05 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 633 1 files changed

[PATCH v8 4/11] OMAP3: hwmod data: add dmtimer

2011-01-05 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer data. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 675 1 files changed

[PATCH v8 11/11] OMAP: dmtimer: add timeout to low-level routines

2011-01-05 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

[PATCH v8 5/11] OMAP4: hwmod data: add dmtimer

2011-01-05 Thread Tarun Kanti DebBarma
From: Cousson, Benoit b-cous...@ti.com Add dmtimer data. Signed-off-by: Cousson, Benoit b-cous...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 622 arch/arm/plat-omap/include/plat/dmtimer.h |2

[PATCH v8 9/11] OMAP: dmtimer: switch-over to platform device driver

2011-01-05 Thread Tarun Kanti DebBarma
. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/clock2420_data.c |2 +- arch/arm/mach-omap2/clock2430_data.c |2 +- arch/arm/mach-omap2/clock3xxx_data.c |2 +- arch/arm/mach-omap2/clock44xx_data.c

[PATCH v8 8/11] OMAP: dmtimer: platform driver

2011-01-05 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson

[PATCH v8 10/11] OMAP: dmtimer: pm_runtime support

2011-01-05 Thread Tarun Kanti DebBarma
Add pm_runtime support to dmtimer. Since dmtimer is used during early boot before pm_runtime is initialized completely there are provisions to enable/disable clocks directly in the code during early boot. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com [p-bas...@ti.com: added pm_runtime

[PATCH v8 7/11] OMAP2+: dmtimer: convert to platform devices

2011-01-05 Thread Tarun Kanti DebBarma
is not completely up and running. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/dmtimer.c | 194 + 2 files

[PATCH v8 6/11] OMAP1: dmtimer: conversion to platform devices

2011-01-05 Thread Tarun Kanti DebBarma
From: Thara Gopinath th...@ti.com Convert OMAP1 dmtimers into a platform devices and then registers with device model framework so that it can be bound to corresponding driver. Signed-off-by: Thara Gopinath th...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Acked-by: Cousson

[PATCH v8 1/11] OMAP2+: dmtimer: add device names to flck nodes

2011-01-05 Thread Tarun Kanti DebBarma
that each patch compiles and boots. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/mach-omap2/clock2420_data.c | 58 +++-- arch/arm/mach-omap2/clock2430_data.c

[PATCH] ARM:VFPv3:enable {d16-d31} access

2010-05-25 Thread Tarun Kanti DebBarma
From: Tarun Kanti Debbarma a0876...@a0876346-desktop.(none) This patch attempts to fix two related problems: (1) vfp_get_double(), vfp_put_double() functions have VFPv3 specific implementation guarded within CONFIG_VFPv3 macro. The intent is to access {d16-d31} additional registers provided

[PATCH v2] OMAP:GPTIMER:1ms tick generation correction

2010-06-21 Thread Tarun Kanti DebBarma
section and warning removal related to 80-character limit Tested on Zoom3 using Linus tree. Signed-off-by: R Sricharan r.sricha...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap/dmtimer.c | 131 + arch/arm/plat-omap/include

[PATCH v3]OMAP:GPTIMER:1ms tick generation correction

2010-06-22 Thread Tarun Kanti DebBarma
-by: R Sricharan r.sricha...@ti.com Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com --- arch/arm/plat-omap/dmtimer.c | 43 - 1 files changed, 37 insertions(+), 6 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c

[PATCH]omap:dmtimer:no null check for kzalloc

2010-07-11 Thread Tarun Kanti DebBarma
This patch incorporates null pointer check associated with memory allocation for omap_dm_timer_plat_info using kzalloc() Tested on OMAP4430 SDP. Signed-off-by: Tarun Kanti Debbarma tarun.ka...@ti.com --- arch/arm/mach-omap2/dmtimers.c | 20 ++-- 1 files changed, 18 insertions

[PATCHv2]omap:dmtimer:no null check for kzalloc

2010-07-11 Thread Tarun Kanti DebBarma
) made other related changes with regard to return type. Tested on OMAP4430 SDP. Signed-off-by: Tarun Kanti Debbarma tarun.ka...@ti.com --- arch/arm/mach-omap2/dmtimers.c | 26 +- arch/arm/mach-omap2/dmtimers.h |2 +- 2 files changed, 22 insertions(+), 6 deletions

[PATCH v15 09/12] OMAP: dmtimer: mark clocksource and clockevent timers reserved

2011-09-08 Thread Tarun Kanti DebBarma
In driver probe use sys_timer_reserved to identify which all timers have already been used for clocksource and clockevent. Mark all those timers as reserved so that no one else can use them. Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Reviewed-by: Santosh Shilimkar santosh.shilim

[PATCH v15 05/12] OMAP: dmtimer: platform driver

2011-09-08 Thread Tarun Kanti DebBarma
Add dmtimer platform driver functions which include: (1) platform driver initialization (2) driver probe function (3) driver remove function Signed-off-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Thara Gopinath th...@ti.com Reviewed-by: Santosh Shilimkar santosh.shilim...@ti.com

[PATCH v15 07/12] OMAP: dmtimer: pm_runtime support

2011-09-08 Thread Tarun Kanti DebBarma
-by: Tarun Kanti DebBarma tarun.ka...@ti.com Signed-off-by: Partha Basak p-bas...@ti.com Reviewed-by: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Cousson, Benoit b-cous...@ti.com --- arch/arm/plat-omap/dmtimer.c | 33 arch/arm/plat-omap/include

[PATCH v15 08/12] OMAP: dmtimer: add timeout to low-level routines

2011-09-08 Thread Tarun Kanti DebBarma
The low-level read and write access routines wait on write-pending register in posted mode to make sure that previous write is complete on respective registers. This waiting is done in an infinite while loop. Now it is being modified to use timeout instead. Signed-off-by: Tarun Kanti DebBarma

  1   2   3   4   5   6   7   >