All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benoit <b-cousson@ti.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: "Gopinath, Thara" <thara@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"tony@atomide.com" <tony@atomide.com>,
	"Sawant, Anand" <sawant@ti.com>
Subject: Re: [PATCH 0/9] OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS
Date: Fri, 04 Jun 2010 00:29:23 +0200	[thread overview]
Message-ID: <4C082CC3.80800@ti.com> (raw)
In-Reply-To: <878w6vn4gu.fsf@deeprootsystems.com>

On 6/4/2010 12:20 AM, Kevin Hilman wrote:
> Benoit Cousson<b-cousson@ti.com>  writes:
>
>> On 5/29/2010 4:37 PM, Gopinath, Thara wrote:
>>> This patch series converts the OMAP Dual Mode Timer into a
>>> platform driver. This involves using of hwmod structures and
>>> omap_device layer for OMAP2/3/4 dmtimers and generic
>>> linux platform device layer for OMAP1.
>>>
>>> As a result of this patch series the dmtimer platform driver
>>> resides in arch/arm/plat-omap directory and arch specific
>>> implementations and device registerations reside in
>>> arch/arm/mach-omap1 and arch/arm/mach-omap2 for OMAP1
>>> and OMAP2 PLUS respectively.
>>
>> Hi Thara,
>>
>> The Dual timer terminology is not used anymore since 2420.
>> It was replaced by gptimer and will be simplified going forward
>> using timer. This IP is almost the same since 1610, but will have 3
>> different names.
>> It might be the good opportunity to align the names?
>
> If we were to align the names, what should be the "aligned" name?
> gptimer or timer?  I tend to prefer gptimer as 'timer' is rather
> ambiguous in this context.

Arrrgs, too late... After many discussions we agreed on 'timer' with HW 
folks. Neither dmtimer not gptimer bring any useful information. Timer 
that are not regular timers will have some prefix / postfix like wd_ for 
the watchdog. And synctimer not being a timer at all will then be 
renamed counter.
Why do you think 'timer' is ambiguous?

Benoit

> For now, we could leave the names of all the functions and structs as
> 'dm_timer', but at least this serious could name the new files and the
> platform devices with the new name.  At the end of the series, one
> final patch to s/dm_timer/new_beautiful_name/ would be an easy patch.
>
> Kevin



  reply	other threads:[~2010-06-03 22:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-29 14:37 [PATCH 0/9] OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS Thara Gopinath
2010-05-29 14:37 ` [PATCH 1/9] OMAP: Convert dual mode timer into a platform driver Thara Gopinath
2010-05-29 14:37   ` [PATCH 2/9] OMAP1: Dual mode timer device registration Thara Gopinath
2010-05-29 14:37     ` [PATCH 3/9] OMAP2/3/4 : " Thara Gopinath
2010-05-29 14:37       ` [PATCH 4/9] OMAP2: Support for early " Thara Gopinath
2010-05-29 14:37         ` [PATCH 5/9] OMAP2/3/4: Adding device names to dmtimer fclk nodes Thara Gopinath
2010-05-29 14:37           ` [PATCH 6/9] OMAP3: Add hwmod data for OMAP3 dual mode timers Thara Gopinath
2010-05-29 14:37             ` [PATCH 7/9] OMAP2: Add hwmod data for OMAP2420 " Thara Gopinath
2010-05-29 14:37               ` [PATCH 8/9] OMAP2: Add hwmod data for OMAP2430 " Thara Gopinath
2010-05-29 14:37                 ` [PATCH 9/9] OMAP4: Changing dmtimer1 fclk name Thara Gopinath
2010-06-03 23:19         ` [PATCH 4/9] OMAP2: Support for early device registration Kevin Hilman
2010-05-30 23:02       ` [PATCH 3/9] OMAP2/3/4 : Dual mode timer " Benoit Cousson
2010-06-01  9:20         ` Tony Lindgren
2010-06-03  9:30           ` Gopinath, Thara
2010-06-03 23:18       ` Kevin Hilman
2010-06-03 23:24       ` Kevin Hilman
2010-06-03 19:47   ` [PATCH 1/9] OMAP: Convert dual mode timer into a platform driver Kevin Hilman
2010-05-30 22:11 ` [PATCH 0/9] OMAP: DMTIMER: Convert platform driver so as to make use of hwmod + omap device framework for OMAP2 PLUS Benoit Cousson
2010-06-03 22:20   ` Kevin Hilman
2010-06-03 22:29     ` Benoit [this message]
2010-06-03 23:46       ` Kevin Hilman
2010-06-01  9:37 ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C082CC3.80800@ti.com \
    --to=b-cousson@ti.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=sawant@ti.com \
    --cc=thara@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.