All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
Cc: "Premi, Sanjeev" <premi@ti.com>,
	"Pandita, Vikram" <vikram.pandita@ti.com>,
	linux-omap <linux-omap@vger.kernel.org>,
	"Chikkature Rajashekar, Madhusudhan" <madhu.cr@ti.com>,
	"Pais, Allen" <allen.pais@ti.com>,
	"Gadiyar, Anand" <gadiyar@ti.com>,
	"Cousson, Benoit" <b-cousson@ti.com>,
	Kevin Hilman <khilman@deeprootsystems.com>,
	"Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com>,
	Tony Lindgren <tony@atomide.com>
Subject: Re: [RFC][PATCH] OMAP3: introduce OMAP3630
Date: Fri, 9 Oct 2009 09:09:39 -0500	[thread overview]
Message-ID: <4ACF4423.5080307@ti.com> (raw)
In-Reply-To: <EAF47CD23C76F840A9E7FCE10091EFAB02BB13D57B@dbde02.ent.ti.com>

Shilimkar, Santosh had written, on 10/08/2009 11:29 PM, the following:
>> -----Original Message-----
>> From: Menon, Nishanth
>> Sent: Thursday, October 08, 2009 8:11 PM
>> To: Premi, Sanjeev
>> Cc: Pandita, Vikram; Shilimkar, Santosh; linux-omap; Chikkature Rajashekar,
>> Madhusudhan; Pais, Allen; Gadiyar, Anand; Cousson, Benoit; Kevin Hilman;
>> Aguirre Rodriguez, Sergio Alberto; Tony Lindgren
>> Subject: Re: [RFC][PATCH] OMAP3: introduce OMAP3630
>>
[...]
>>>>>> +#define OMAP3630_REV_ES1_0	0x34305034
>>>>>>
>>>>>>  #define OMAP443X_CLASS		0x44300034
>>>>> Was expecting that this patch will add "cpu_is_omap36xx()" in cpu.h
>>>>> apart from above. Is this handled in another patch ?
>>>> Idea is to re-use all 34xx code for 36xx, as per the mail
>>>> thread on list, and given in reference.
>>>> Hence at run time, the check could be:
>>>>
>>>> if (omap_rev() == OMAP3630_REV_ES1_0)
>>>> 	xxxxx
>>>>
>>>> cpu_is_omap34xx() will be true for 36xx as well.
>>> [sp] This case seems quite similar to the OMAP35x.
>>>      Can you look at this thread:
>>>
>>>      http://marc.info/?l=linux-omap&m=125372581804902&w=2
>>>
>>>      It applies equally well here as well...
>>>      I will be submitting updated patch tomorrow.
>> yes, any specifics should be  feature based IMHO. we will need to extend
>> the feature list.
> 
> If we are going to handle the delta 3630 changes w.r.t 3430 with feature based approach, its probably is the best thing.
yes. i guess I can take this as an ACK ;)
> 
> But in case delat code will be added like below then having a cpu_is_omap36xx() makes more sense. 
>>> if (omap_rev() == OMAP3630_REV_ES1_0)
>>>> 	xxxxx
> There is no harm having both cpu_is_omap36xx() and cpu_is_omap34xx() true for 3630
what is the need for this? if feature settings can handle the deltas.
give me specific example where this will be needed. if needed, we can 
add this at a later point.

Regards,
Nishanth Menon

  reply	other threads:[~2009-10-09 14:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <[PATCH][RFC] OMAP3630: Create architecture macros and config>
2009-10-08  4:47 ` [RFC][PATCH] OMAP3: introduce OMAP3630 Nishanth Menon
2009-10-08  6:17   ` Felipe Balbi
2009-10-08 10:13   ` Shilimkar, Santosh
2009-10-08 13:31     ` Pandita, Vikram
2009-10-08 14:23       ` Premi, Sanjeev
2009-10-08 14:40         ` Nishanth Menon
2009-10-08 15:04           ` Pais, Allen
2009-10-08 15:13             ` Menon, Nishanth
2009-10-09  4:29           ` Shilimkar, Santosh
2009-10-09 14:09             ` Nishanth Menon [this message]
2009-10-09 14:40               ` Shilimkar, Santosh
2009-10-08 14:31   ` Aguirre Rodriguez, Sergio Alberto
2009-10-08 16:08     ` Menon, Nishanth

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=4ACF4423.5080307@ti.com \
    --to=nm@ti.com \
    --cc=allen.pais@ti.com \
    --cc=b-cousson@ti.com \
    --cc=gadiyar@ti.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=madhu.cr@ti.com \
    --cc=premi@ti.com \
    --cc=saaguirre@ti.com \
    --cc=tony@atomide.com \
    --cc=vikram.pandita@ti.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.