From: Kevin Hilman <khilman@deeprootsystems.com>
To: Thara Gopinath <thara@ti.com>
Cc: linux-omap@vger.kernel.org, paul@pwsan.com, b-cousson@ti.com,
vishwanath.bs@ti.com, sawant@ti.com
Subject: Re: [PATCHv3 1/2] OMAP3: PM: Smartreflex IP update changes for OMAP3630
Date: Wed, 28 Apr 2010 16:28:36 -0700 [thread overview]
Message-ID: <877hnr9mxn.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1271413196-6087-2-git-send-email-thara@ti.com> (Thara Gopinath's message of "Fri\, 16 Apr 2010 15\:49\:55 +0530")
Thara Gopinath <thara@ti.com> writes:
> OMAP3430 uses the 65nm version of the smartreflex IP where as
> OMAP3630 and OMAP4430 uses the 45nm updated IP.
>
> This patch adds support for the updated smartreflex IP used
> in OMAP3630 and OMAP4 in the smartreflex driver.
>
> Major changes between the two versions of IP involve:
> 1. Change in offset position for ERRCONFIG and SENERROR registers
> 2. Change in bit positions for VP bound interrupt enable and status
> in ERRCONFIG register.
> 3. Change in bit positions and width of SENNENABLE and SENPENABLE
> bits in SRCONFIG registers.
> 4. Introduction of separate irq registers for MCU bound interrupts.
> 5. Removal of clockactivity bits in ERRCONFIG and introduction of
> idlemode and wakeupenable bits in ERRCONFIG.
>
> Signed-off-by: Thara Gopinath <thara@ti.com>
Looks good. One minor comment for discussion below...
[...]
> @@ -619,6 +717,7 @@ static int __devinit omap_smartreflex_probe(struct platform_device *pdev)
> sr_info->srid = pdev->id;
> sr_info->is_autocomp_active = 0;
> sr_info->clk_length = 0;
> + sr_info->sr_ip_type = odev->hwmods[0]->class->rev;
I'm not crazy about drivers having to know the details of hwmod
structs. I'd suggest a HWMOD API for getting this revision.
Other ideas?
Kevin
next prev parent reply other threads:[~2010-04-28 23:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 10:19 [PATCHv3 0/2] OMAP3: PM: OMAP3630 support for smartreflex driver Thara Gopinath
2010-04-16 10:19 ` [PATCHv3 1/2] OMAP3: PM: Smartreflex IP update changes for OMAP3630 Thara Gopinath
2010-04-16 10:19 ` [PATCHv3 2/2] OMAP3: PM: Adding OMAP3630 support in smartreflex driver Thara Gopinath
2010-04-28 23:28 ` Kevin Hilman [this message]
2010-04-20 23:50 ` [PATCHv3 0/2] OMAP3: PM: OMAP3630 support for " Kevin Hilman
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=877hnr9mxn.fsf@deeprootsystems.com \
--to=khilman@deeprootsystems.com \
--cc=b-cousson@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=sawant@ti.com \
--cc=thara@ti.com \
--cc=vishwanath.bs@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 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).