devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] DRA7 Timer12 Support
@ 2015-10-01 19:32 Suman Anna
       [not found] ` <1443727960-32232-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Suman Anna @ 2015-10-01 19:32 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Paul Walmsley, linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Suman Anna

Hi Tony,

The DRA7 Timer12 is completely missing from the kernel. This series
adds the support for it, so that all the Timers on DRA7 are represented
in the kernel. Timer12 is a special Timer, and is not available for
kernel on HS devices, very much similar to the equivalent timer on OMAP3. 

Patch 1 is a bit debatable, as I am not entirely sure if the clk API used
are acceptable outside the drivers/clk folders. It keeps intact the
omap_dm_timer_set_source() API though, and allows it to handle the
non-configurability of Timer12 parent within that API. The need for
this API is questionable, I am not a big fan as the dmtimer code blindly
tries to set the source of every requested API to OMAP_TIMER_SRC_32_KHZ,
and then the requestors would have to reset the proper parent source again.
It also supports configuring only one of 3 parents (which are valid when
added originally for the then SoCs), requiring specific clock aliases to
work across different SoCs, but the DRA7 SoC does have more than 3
configurable clock parents, and the indexes may not necessarily match
for different timers on different SoCs. Patch 1 won't be needed if we
can kill the omap_dm_timer_set_source() API.

Patches baselined on 4.3-rc3, but should apply just fine on -rc1 as well.

regards
Suman

Suman Anna (4):
  ARM: OMAP: dmtimer: check for fixed timers during config
  ARM: OMAP2+: timer: Remove secure timer for DRA7xx devices
  ARM: dts: DRA7: Add timer12 node
  ARM: DRA7: hwmod: Add data for GPTimer 12

 arch/arm/boot/dts/dra7.dtsi               | 10 +++++++++
 arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 36 +++++++++++++++++++++++++++++--
 arch/arm/mach-omap2/timer.c               |  6 +++---
 arch/arm/plat-omap/dmtimer.c              |  5 +++++
 4 files changed, 52 insertions(+), 5 deletions(-)

-- 
2.6.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-10-05 18:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 19:32 [PATCH 0/4] DRA7 Timer12 Support Suman Anna
     [not found] ` <1443727960-32232-1-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2015-10-01 19:32   ` [PATCH 1/4] ARM: OMAP: dmtimer: check for fixed timers during config Suman Anna
     [not found]     ` <1443727960-32232-2-git-send-email-s-anna-l0cyMroinI0@public.gmane.org>
2015-10-03 17:29       ` kbuild test robot
     [not found]         ` <201510040126.SfMisWv2%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-10-05 16:42           ` Suman Anna
     [not found]             ` <5612A88E.1040809-l0cyMroinI0@public.gmane.org>
2015-10-05 16:58               ` Tony Lindgren
     [not found]                 ` <20151005165806.GE23801-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-10-05 18:33                   ` Suman Anna
2015-10-01 19:32   ` [PATCH 2/4] ARM: OMAP2+: timer: Remove secure timer for DRA7xx devices Suman Anna
2015-10-01 19:32   ` [PATCH 3/4] ARM: dts: DRA7: Add timer12 node Suman Anna
2015-10-01 19:32   ` [PATCH 4/4] ARM: DRA7: hwmod: Add data for GPTimer 12 Suman Anna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).