From: jon-hunter@ti.com (Jon Hunter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v8 1/3] ARM: OMAP2/3: hwmod data: add gpmc
Date: Wed, 5 Sep 2012 14:47:29 -0500 [thread overview]
Message-ID: <5047AC51.9010409@ti.com> (raw)
In-Reply-To: <17b686d1aaf6fa6bfdbe30993804dd5a269ae6db.1346846464.git.afzal@ti.com>
Hi Afzal,
On 09/05/2012 07:37 AM, Afzal Mohammed wrote:
> Add gpmc hwmod and associated interconnect data
>
> Signed-off-by: Afzal Mohammed <afzal@ti.com>
> ---
> arch/arm/mach-omap2/omap_hwmod_2420_data.c | 18 +++++++
> arch/arm/mach-omap2/omap_hwmod_2430_data.c | 18 +++++++
> arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 44 ++++++++++++++++-
> arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 54 ++++++++++++++++++++
> arch/arm/mach-omap2/omap_hwmod_common_data.h | 1 +
> arch/arm/mach-omap2/prcm-common.h | 2 +
> 6 files changed, 136 insertions(+), 1 deletions(-)
[snip]
> diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> index 3e7d6c1..ce02b56 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> @@ -2059,6 +2059,42 @@ static struct omap_hwmod omap3xxx_counter_32k_hwmod = {
> };
>
> /*
> + * 'gpmc' class
> + * general purpose memory controller
> + */
> +
> +static struct omap_hwmod_class_sysconfig omap3xxx_gpmc_sysc = {
> + .rev_offs = 0x0000,
> + .sysc_offs = 0x0010,
> + .syss_offs = 0x0014,
> + .sysc_flags = (SYSC_HAS_AUTOIDLE | SYSC_HAS_SIDLEMODE |
> + SYSC_HAS_SOFTRESET | SYSS_HAS_RESET_STATUS),
> + .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
> + .sysc_fields = &omap_hwmod_sysc_type1,
> +};
> +
> +static struct omap_hwmod_class omap3xxx_gpmc_hwmod_class = {
> + .name = "gpmc",
> + .sysc = &omap3xxx_gpmc_sysc,
> +};
> +
> +static struct omap_hwmod_irq_info omap3xxx_gpmc_irqs[] = {
> + { .irq = 20 },
> + { .irq = -1 }
> +};
> +
> +static struct omap_hwmod omap3xxx_gpmc_hwmod = {
> + .name = "gpmc",
> + .class = &omap3xxx_gpmc_hwmod_class,
> + .clkdm_name = "l3_init_clkdm",
This all looks good, but I believe that the gpmc clock-domain should be
the core_l3_clkdm.
Cheers
Jon
next prev parent reply other threads:[~2012-09-05 19:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 12:36 [PATCH v8 0/3] GPMC driver conversion Afzal Mohammed
2012-09-05 12:37 ` [PATCH v8 1/3] ARM: OMAP2/3: hwmod data: add gpmc Afzal Mohammed
2012-09-05 19:47 ` Jon Hunter
2012-09-05 19:47 ` Jon Hunter [this message]
2012-09-05 23:27 ` Tony Lindgren
2012-09-05 12:37 ` [PATCH v8 2/3] ARM: OMAP2+: gpmc: Adapt to HWMOD Afzal Mohammed
2012-09-05 19:55 ` Jon Hunter
2012-09-11 10:16 ` Mohammed, Afzal
2012-09-05 12:37 ` [PATCH v8 3/3] ARM: OMAP2+: gpmc: minimal driver support Afzal Mohammed
2012-09-05 20:41 ` Jon Hunter
2012-09-07 22:10 ` [PATCH v8 0/3] GPMC driver conversion Tony Lindgren
2012-09-10 8:30 ` Florian Vaussard
2012-09-11 10:53 ` Mohammed, Afzal
2012-09-11 16:31 ` 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=5047AC51.9010409@ti.com \
--to=jon-hunter@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).