All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage
@ 2012-04-20 12:39 ` Tarun Kanti DebBarma
  0 siblings, 0 replies; 34+ messages in thread
From: Tarun Kanti DebBarma @ 2012-04-20 12:39 UTC (permalink / raw)
  To: linux-omap
  Cc: linux-arm-kernel, Tarun Kanti DebBarma, Cousson, Benoit,
	Paul Walmsley, Tony Lindgren, Kevin Hilman, Rajendra Nayak,
	Santosh Shilimkar

The devm API usage in probe() simplifies error handling operation.
Since iclk is not used in the driver it is removed from wherever
not needed.
Corrected the timer fck name mis-match between clock44xx_data.c and
omap_hwmod_44xx_data.c.
Added omap_hwmod_get_main_clk() API. There is no more need to construct
clock names using sprintf() to be used in clk_get() during initialization.

Reference:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Commit: e816b57a337ea3b755de72bec38c10c864f23015 (Linux 3.4-rc3)

Series is available here for reference:
git://gitorious.org/~tarunkanti/omap-sw-develoment/tarunkantis-linux-omap-dev dmtimer_cleanup_for_3.5

Tested on following platforms:
OMAP5, OMAP4430SDP, OMAP3430SDP, OMAP2430SDP.
Could not test on OMAP2420 due to unavailability of board.

v2:
- Use devm_request_and_ioremap() instead of request_mem_region() and ioremap()
- Add omap_hwmod_get_main_clk() API
- Reverted changes of clock names from OMAP2 and OMAP3 platforms  

Cc: Cousson, Benoit <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>

Tarun Kanti DebBarma (4):
  ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe()
  ARM: OMAP2+: hwmod: add omap_hwmod_get_main_clk() API
  ARM: OMAP2+: dmtimer: cleanup iclk usage
  ARM: OMAP2+: dmtimer: cleanup fclk usage

 arch/arm/mach-omap2/clock44xx_data.c         |   33 ++++++-----------
 arch/arm/mach-omap2/omap_hwmod.c             |   15 ++++++++
 arch/arm/mach-omap2/timer.c                  |   10 +-----
 arch/arm/plat-omap/dmtimer.c                 |   51 ++++++++------------------
 arch/arm/plat-omap/include/plat/dmtimer.h    |    2 +-
 arch/arm/plat-omap/include/plat/omap_hwmod.h |    2 +
 6 files changed, 46 insertions(+), 67 deletions(-)


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2012-07-06  7:09 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 12:39 [PATCH v2 0/4] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage Tarun Kanti DebBarma
2012-04-20 12:39 ` Tarun Kanti DebBarma
2012-04-20 12:39 ` [PATCH v2 1/4] ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe() Tarun Kanti DebBarma
2012-04-20 12:39   ` Tarun Kanti DebBarma
2012-04-20 12:39 ` [PATCH v2 2/4] ARM: OMAP2+: hwmod: add omap_hwmod_get_main_clk() API Tarun Kanti DebBarma
2012-04-20 12:39   ` Tarun Kanti DebBarma
2012-04-20 15:10   ` Cousson, Benoit
2012-04-20 15:10     ` Cousson, Benoit
2012-06-18 16:23   ` Paul Walmsley
2012-06-18 16:23     ` Paul Walmsley
2012-07-04 15:39   ` Paul Walmsley
2012-07-04 15:39     ` Paul Walmsley
2012-04-20 12:39 ` [PATCH v2 3/4] ARM: OMAP2+: dmtimer: cleanup iclk usage Tarun Kanti DebBarma
2012-04-20 12:39   ` Tarun Kanti DebBarma
2012-04-23 17:48   ` Kevin Hilman
2012-04-23 17:48     ` Kevin Hilman
2012-04-23 19:36     ` DebBarma, Tarun Kanti
2012-04-23 19:36       ` DebBarma, Tarun Kanti
2012-04-24  0:34       ` Kevin Hilman
2012-04-24  0:34         ` Kevin Hilman
2012-04-20 12:39 ` [PATCH v2 4/4] ARM: OMAP2+: dmtimer: cleanup fclk usage Tarun Kanti DebBarma
2012-04-20 12:39   ` Tarun Kanti DebBarma
2012-06-14 10:54 ` [PATCH v2 0/4] ARM: OMAP2+: dmtimer: cleanup related to devm API and clk usage DebBarma, Tarun Kanti
2012-06-14 10:54   ` DebBarma, Tarun Kanti
2012-06-14 10:58   ` Shilimkar, Santosh
2012-06-14 10:58     ` Shilimkar, Santosh
2012-07-05  4:02     ` DebBarma, Tarun Kanti
2012-07-05  4:02       ` DebBarma, Tarun Kanti
2012-07-05  9:28       ` Tony Lindgren
2012-07-05  9:28         ` Tony Lindgren
2012-07-05 11:41         ` DebBarma, Tarun Kanti
2012-07-05 11:41           ` DebBarma, Tarun Kanti
2012-07-06  7:09           ` Tony Lindgren
2012-07-06  7:09             ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.