From: Afzal Mohammed <afzal@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Tony Lindgren <tony@atomide.com>,
Benoit Cousson <benoit.cousson@linaro.org>,
benoit.cousson@gmail.com
Subject: Re: [PATCH v2 06/13] ARM: OMAP2+: PRCM: AM43x definitions
Date: Wed, 28 Aug 2013 17:33:46 +0530 [thread overview]
Message-ID: <521DE722.1050700@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1308210313410.6426@utopia.booyaka.com>
Hi Paul,
On Wednesday 21 August 2013 08:50 AM, Paul Walmsley wrote:
>> +/* PRM instances */
>> +#define AM43XX_PRM_OCP_SOCKET_INST 0x0000
>> +#define AM43XX_PRM_MPU_INST 0x0300
>> +#define AM43XX_PRM_GFX_INST 0x0400
>> +#define AM43XX_PRM_RTC_INST 0x0500
>> +#define AM43XX_PRM_TAMPER_INST 0x0600
>> +#define AM43XX_PRM_CEFUSE_INST 0x0700
>> +#define AM43XX_PRM_PER_INST 0x0800
>> +#define AM43XX_PRM_WKUP_INST 0x2000
>> +#define AM43XX_PRM_DEVICE_INST 0x4000
>> +
>
> ...
>
>> +/* CM instances */
>> +#define AM43XX_CM_WKUP_INST 0x2800
>> +#define AM43XX_CM_DEVICE_INST 0x4100
>> +#define AM43XX_CM_DPLL_INST 0x4200
>> +#define AM43XX_CM_MPU_INST 0x8300
>> +#define AM43XX_CM_GFX_INST 0x8400
>> +#define AM43XX_CM_RTC_INST 0x8500
>> +#define AM43XX_CM_TAMPER_INST 0x8600
>> +#define AM43XX_CM_CEFUSE_INST 0x8700
>> +#define AM43XX_CM_PER_INST 0x8800
>
> That's a pretty broad address range to span, in PRCM terms. Seems pretty
> unlikely that the whole area is really decoded to a single PRCM IP block?
> Or is it actually decoded into smaller PRM and CM sub-blocks, similar to
> OMAP4?
>
> Just by looking at the offsets, it looks to me like you've got:
>
> 1. one IP block at 0x0000-0x1fff? that covers system PRM
>
> 2. one IP block at 0x2000-0x3fff? that covers WKUP PRM & CM
>
> 3. one IP block at 0x4000-? that covers device & PLL PRM & CM
>
> 4. one IP block at 0x8000-? that covers system CM
In AM43x, PRCM is a single entity as in AM335x, but with a mixed address
space for PRM & CM instances.
On AM335x, from the header files, it can be seen that PRM & CM base is
0x44e00000, here it is similar case except that the base for both is
0x44df0000 instead.
Also, script too generated the macros as in this change.
Regards
Afzal
next prev parent reply other threads:[~2013-08-28 12:04 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 13:35 [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support Afzal Mohammed
2013-08-02 13:36 ` [PATCH v2 01/13] ARM: OMAP2+: CM: reintroduce SW_SLEEP for OMAP4 Afzal Mohammed
2013-08-21 7:13 ` Rajendra Nayak
2013-08-28 12:14 ` Afzal Mohammed
2013-08-30 18:04 ` Vaibhav Bedia
2013-08-02 13:36 ` [PATCH v2 02/13] ARM: OMAP2+: hwmod: AM335x: prepare for AM43x reuse Afzal Mohammed
2013-08-21 8:37 ` Rajendra Nayak
2013-08-02 13:36 ` [PATCH v2 03/13] ARM: OMAP2+: hwmod: AMx3: runtime AM335x handling Afzal Mohammed
2013-08-21 11:28 ` Rajendra Nayak
2013-08-02 13:37 ` [PATCH v2 04/13] ARM: OMAP2+: hwmod: AMx3: remove common static fields Afzal Mohammed
2013-08-02 13:37 ` [PATCH v2 05/13] ARM: OMAP2+: CM: cm_inst offset s16->u16 Afzal Mohammed
2013-08-02 13:37 ` [PATCH v2 06/13] ARM: OMAP2+: PRCM: AM43x definitions Afzal Mohammed
2013-08-21 3:20 ` Paul Walmsley
2013-08-28 12:03 ` Afzal Mohammed [this message]
2013-08-02 13:37 ` [PATCH v2 07/13] ARM: OMAP2+: PM: AM43x powerdomain data Afzal Mohammed
2013-08-02 13:37 ` [PATCH v2 08/13] ARM: OMAP2+: CM: AM43x clockdomain data Afzal Mohammed
2013-08-02 13:37 ` [PATCH v2 09/13] ARM: OMAP2+: hwmod: AMx3: runtime AM43x handling Afzal Mohammed
2013-08-02 13:38 ` [PATCH v2 10/13] ARM: OMAP2+: hwmod: AM43x operations Afzal Mohammed
2013-08-21 11:30 ` Rajendra Nayak
2013-08-28 12:29 ` Afzal Mohammed
2013-08-02 13:38 ` [PATCH v2 11/13] ARM: OMAP2+: AM43x: PRCM kbuild Afzal Mohammed
2013-08-02 13:38 ` [PATCH v2 12/13] ARM: OMAP2+: AM43x PRCM init Afzal Mohammed
2013-08-02 13:38 ` [PATCH v2 13/13] ARM: OMAP2+: hwmod: AM43x: new w.r.t AM335x Afzal Mohammed
2013-08-21 11:33 ` Rajendra Nayak
2013-08-13 8:01 ` [PATCH v2 00/13] ARM: OMAP2+: AM43x PRCM support Tony Lindgren
2013-08-19 6:36 ` Afzal Mohammed
2013-08-20 9:18 ` Benoit Cousson
2013-08-28 12:09 ` Afzal Mohammed
2013-08-21 2:53 ` Paul Walmsley
2013-08-28 12:03 ` Afzal Mohammed
2013-08-21 11:44 ` Rajendra Nayak
2013-08-29 14:00 ` Afzal Mohammed
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=521DE722.1050700@ti.com \
--to=afzal@ti.com \
--cc=benoit.cousson@gmail.com \
--cc=benoit.cousson@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.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 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).