All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shilimkar, Santosh" <santosh.shilimkar@ti.com>
To: "Cousson, Benoit" <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>,
	"Hiremath, Vaibhav" <hvaibhav@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"Hilman, Kevin" <khilman@ti.com>,
	"Nayak, Rajendra" <rnayak@ti.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device
Date: Mon, 7 May 2012 16:14:42 +0530	[thread overview]
Message-ID: <CAMQu2gxmPAEWYmE+DLHNYii1-wtjkm68mxU89F8EXyGLQP1Tww@mail.gmail.com> (raw)
In-Reply-To: <4FA7A4D0.80006@ti.com>

On Mon, May 7, 2012 at 4:02 PM, Cousson, Benoit <b-cousson@ti.com> wrote:
> Hi Paul,
>
>
> On 5/2/2012 11:09 AM, Paul Walmsley wrote:
>>
>> On Fri, 27 Apr 2012, Hiremath, Vaibhav wrote:
>>
>>> I will be waiting for your comment and conformation on, which family
>>> AM33xx
>>> device should fall in? Please refer to the mail-chain -
>>>
>>> http://www.mail-archive.com/linux-omap@vger.kernel.org/msg67275.html
>>
>>
>> This decision turns out to be pretty important; it certainly affects the
>> AM33xx PRM/CM/clockdomain/powerdomain patches that I've been looking at.
>>
>> Here is my suggestion, based on our previous practice.  I am not so
>> sure that it is the best way, but it seems pretty reasonable"
>>
>> Using CONFIG_ARCH_OMAP3 for CONFIG_ARCH_OMAPAM33XX doesn't make sense, as
>> far as I can tell.  The main area of similarity between the other
>> CONFIG_ARCH_OMAP3 and AM33xx is the Cortex-A8.  And even that MPU
>> subsystem is quite different between, say, the 3430/3630 and the AM33xx.
>> Most of the AM33xx is quite different from the 3430/3630: OMAP4-style PRCM
>> interface, OMAP4-style interconnect, etc.  Plus, most of the
>> CONFIG_ARCH_OMAP3 code in our codebase is very 3430/3630-specific, like
>> the PM code.
>>
>> This would seem to suggest that we should use CONFIG_ARCH_OMAP4.  But that
>> option currently assumes an OMAP4-style MPU subsystem: SMP Cortex-A9,
>> PL310, etc.  None of that is true for AM335x.
>>
>> So first we have to decide whether the CONFIG_ARCH_OMAP* options should
>> have a strong dependency on the MPU type, as they currently do; or whether
>> they should focus on the way the SoC is integrated.
>
>
> I think as well that these devices should be considered as part of the OMAP4
> family.
> The CPU type should not be the parameter that decide the OMAP family, it is
> just an IP, that can change on some variant, whereas the whole PRCM
> infrastructure / interconnect is mostly the same.
>
I agree. In fact more and more I think of this problem, looks like we
should get rid
off ARCH_OMAP* and just is SOC_* going forward.

Common ARM code already takes care of different CPU version and as Benoit
mentioned it is just one of the IP in the entire SOC. I saw tony commenting
in similarly on of the patch set.

Regards
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: santosh.shilimkar@ti.com (Shilimkar, Santosh)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device
Date: Mon, 7 May 2012 16:14:42 +0530	[thread overview]
Message-ID: <CAMQu2gxmPAEWYmE+DLHNYii1-wtjkm68mxU89F8EXyGLQP1Tww@mail.gmail.com> (raw)
In-Reply-To: <4FA7A4D0.80006@ti.com>

On Mon, May 7, 2012 at 4:02 PM, Cousson, Benoit <b-cousson@ti.com> wrote:
> Hi Paul,
>
>
> On 5/2/2012 11:09 AM, Paul Walmsley wrote:
>>
>> On Fri, 27 Apr 2012, Hiremath, Vaibhav wrote:
>>
>>> I will be waiting for your comment and conformation on, which family
>>> AM33xx
>>> device should fall in? Please refer to the mail-chain -
>>>
>>> http://www.mail-archive.com/linux-omap at vger.kernel.org/msg67275.html
>>
>>
>> This decision turns out to be pretty important; it certainly affects the
>> AM33xx PRM/CM/clockdomain/powerdomain patches that I've been looking at.
>>
>> Here is my suggestion, based on our previous practice. ?I am not so
>> sure that it is the best way, but it seems pretty reasonable"
>>
>> Using CONFIG_ARCH_OMAP3 for CONFIG_ARCH_OMAPAM33XX doesn't make sense, as
>> far as I can tell. ?The main area of similarity between the other
>> CONFIG_ARCH_OMAP3 and AM33xx is the Cortex-A8. ?And even that MPU
>> subsystem is quite different between, say, the 3430/3630 and the AM33xx.
>> Most of the AM33xx is quite different from the 3430/3630: OMAP4-style PRCM
>> interface, OMAP4-style interconnect, etc. ?Plus, most of the
>> CONFIG_ARCH_OMAP3 code in our codebase is very 3430/3630-specific, like
>> the PM code.
>>
>> This would seem to suggest that we should use CONFIG_ARCH_OMAP4. ?But that
>> option currently assumes an OMAP4-style MPU subsystem: SMP Cortex-A9,
>> PL310, etc. ?None of that is true for AM335x.
>>
>> So first we have to decide whether the CONFIG_ARCH_OMAP* options should
>> have a strong dependency on the MPU type, as they currently do; or whether
>> they should focus on the way the SoC is integrated.
>
>
> I think as well that these devices should be considered as part of the OMAP4
> family.
> The CPU type should not be the parameter that decide the OMAP family, it is
> just an IP, that can change on some variant, whereas the whole PRCM
> infrastructure / interconnect is mostly the same.
>
I agree. In fact more and more I think of this problem, looks like we
should get rid
off ARCH_OMAP* and just is SOC_* going forward.

Common ARM code already takes care of different CPU version and as Benoit
mentioned it is just one of the IP in the entire SOC. I saw tony commenting
in similarly on of the patch set.

Regards
Santosh

  reply	other threads:[~2012-05-07 10:45 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 16:03 [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device Vaibhav Hiremath
2012-03-30 16:03 ` Vaibhav Hiremath
2012-03-30 16:03 ` [PATCH-V4 1/4] ARM: OMAP3+: am33xx: Add voltage domain data Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-04-28  0:39   ` Paul Walmsley
2012-04-28  0:39     ` Paul Walmsley
2012-04-30 20:41     ` Kevin Hilman
2012-04-30 20:41       ` Kevin Hilman
2012-03-30 16:03 ` [PATCH-V4 2/4] ARM: OMAP3/4: omap_hwmod: Add rstst_off field to struct omap_hwmod_omap4_prcm Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-05-29  6:31   ` Hiremath, Vaibhav
2012-05-29  6:31     ` Hiremath, Vaibhav
2012-03-30 16:03 ` [PATCH-V4 3/4] ARM: OMAP2+: powerdomain: Add offset & mask fields to struct powerdomain Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-03-30 16:03 ` [PATCH-V4 4/4] ARM: OMAP3+: am33xx: Add powerdomain & PRM support Vaibhav Hiremath
2012-03-30 16:03   ` Vaibhav Hiremath
2012-04-27  0:49   ` Kevin Hilman
2012-04-27  0:49     ` Kevin Hilman
2012-04-27  6:37     ` Hiremath, Vaibhav
2012-04-27  6:37       ` Hiremath, Vaibhav
2012-05-04 18:43       ` Tony Lindgren
2012-05-04 18:43         ` Tony Lindgren
2012-04-27 20:44     ` Kevin Hilman
2012-04-27 20:44       ` Kevin Hilman
2012-03-30 16:22 ` [PATCH-V4 0/4] ARM: OMAP2+: Add voltagedomain, powerdomain & PRM support for AM33XX device Hiremath, Vaibhav
2012-03-30 16:22   ` Hiremath, Vaibhav
2012-04-12  8:26 ` Paul Walmsley
2012-04-12  8:26   ` Paul Walmsley
2012-04-13 10:36   ` Hiremath, Vaibhav
2012-04-13 10:36     ` Hiremath, Vaibhav
2012-04-13 10:43     ` Paul Walmsley
2012-04-13 10:43       ` Paul Walmsley
2012-04-16  7:18       ` Hiremath, Vaibhav
2012-04-16  7:18         ` Hiremath, Vaibhav
2012-04-18 23:21       ` Tony Lindgren
2012-04-18 23:21         ` Tony Lindgren
2012-04-18 23:18     ` Tony Lindgren
2012-04-18 23:18       ` Tony Lindgren
2012-04-23 18:28       ` Hiremath, Vaibhav
2012-04-23 18:28         ` Hiremath, Vaibhav
2012-04-26 18:43         ` Tony Lindgren
2012-04-26 18:43           ` Tony Lindgren
2012-04-26 18:49           ` Hiremath, Vaibhav
2012-04-26 18:49             ` Hiremath, Vaibhav
2012-04-26 19:05             ` Tony Lindgren
2012-04-26 19:05               ` Tony Lindgren
2012-04-27  8:53               ` Hiremath, Vaibhav
2012-04-27  8:53                 ` Hiremath, Vaibhav
2012-05-02  9:09                 ` Paul Walmsley
2012-05-02  9:09                   ` Paul Walmsley
2012-05-07 10:32                   ` Cousson, Benoit
2012-05-07 10:32                     ` Cousson, Benoit
2012-05-07 10:44                     ` Shilimkar, Santosh [this message]
2012-05-07 10:44                       ` Shilimkar, Santosh
2012-05-07 13:59                       ` Hiremath, Vaibhav
2012-05-07 13:59                         ` Hiremath, Vaibhav
2012-05-02  9:30             ` Paul Walmsley
2012-05-02  9:30               ` Paul Walmsley
2012-05-02  9:37               ` Hiremath, Vaibhav
2012-05-02  9:37                 ` Hiremath, Vaibhav
2012-05-03 14:44               ` Hiremath, Vaibhav
2012-05-03 14:44                 ` Hiremath, Vaibhav
2012-04-25 13:44 ` Hiremath, Vaibhav
2012-04-25 13:44   ` Hiremath, Vaibhav

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=CAMQu2gxmPAEWYmE+DLHNYii1-wtjkm68mxU89F8EXyGLQP1Tww@mail.gmail.com \
    --to=santosh.shilimkar@ti.com \
    --cc=b-cousson@ti.com \
    --cc=hvaibhav@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=rnayak@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.