linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Madhusudhan" <madhu.cr@ti.com>
To: 'kishore kadiyala' <kishorek.kadiyala@gmail.com>,
	'Santosh Shilimkar' <santosh.shilimkar@ti.com>
Cc: linux-omap@vger.kernel.org, tony@atomide.com,
	khilman@deeprootsystems.com
Subject: RE: [PATCH 6/7] omap4: Workaround for CMD line reset.
Date: Tue, 14 Sep 2010 10:58:02 -0500	[thread overview]
Message-ID: <4A2EB6064EC0403DB3ADE4A8F347F65C@am.dhcp.ti.com> (raw)
In-Reply-To: <AANLkTimd5pAFPfGfODXA1FrC4TEoAy9fGgdVibHpB-vH@mail.gmail.com>



> -----Original Message-----
> From: kishore kadiyala [mailto:kishorek.kadiyala@gmail.com]
> Sent: Tuesday, September 14, 2010 10:47 AM
> To: Madhusudhan Chikkature; Santosh Shilimkar
> Cc: linux-omap@vger.kernel.org; tony@atomide.com;
> khilman@deeprootsystems.com
> Subject: Re: [PATCH 6/7] omap4: Workaround for CMD line reset.
> 
> Hi Madhu,
> 
> On Thu, Sep 9, 2010 at 4:53 PM, Santosh Shilimkar
> <santosh.shilimkar@ti.com> wrote:
> > From: Madhusudhan Chikkature <madhu.cr@ti.com>
> >
> > Add a delay after CMD line reset to accomdate the reset to complete.
> > The SYSCTL seems to reflect SRC immediately which might not really
> > be indicating the complete of reset. This is observed only with ES2.0
> > silicon
> >
> > Signed-off-by: Madhusudhan Chikkature <madhu.cr@ti.com>
> > ---
> >  drivers/mmc/host/omap_hsmmc.c |    8 ++++++++
> >  1 files changed, 8 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/mmc/host/omap_hsmmc.c
> b/drivers/mmc/host/omap_hsmmc.c
> > index 4a8776f..1c359f0 100644
> > --- a/drivers/mmc/host/omap_hsmmc.c
> > +++ b/drivers/mmc/host/omap_hsmmc.c
> > @@ -986,6 +986,14 @@ static inline void
> omap_hsmmc_reset_controller_fsm(struct omap_hsmmc_host *host,
> >                (i++ < limit))
> >                cpu_relax();
> >
> > +       /*
> > +        * On OMAP4 ES2 the SRC is zero in the first loop itself
> strangely
> > +        * vs on ES1 it takes some time.
> > +        * Could be a an issue on ES2 to indicate reset complete even
> before
> > +        * it is complete.
> > +        */
> > +       udelay(500);
> 
> Since the above work around is applicable only for OMAP4 ES2 ,
> shouldn't this udelay be avoided for other OMAP versions
> 
I did not post this to Linux omap at all. What patch are you talking about?

Regards,
Madhu

> Regards,
> Kishore
> > +
> >        if (OMAP_HSMMC_READ(host->base, SYSCTL) & bit)
> >                dev_err(mmc_dev(host->mmc),
> >                        "Timeout waiting on controller reset in %s\n",
> > --
> > 1.6.0.4
> >
> > --
> > 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
> >

--
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

  reply	other threads:[~2010-09-14 15:58 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 11:23 [PATCH 0/7] omap4: Fixes, hacks for es2.0 Santosh Shilimkar
2010-09-09 11:23 ` [PATCH 1/7] omap4: Update id.c and cpu.h " Santosh Shilimkar
2010-09-09 11:23   ` [PATCH 2/7] omap4: Temporary fix silicon version detection Santosh Shilimkar
2010-09-09 11:23     ` [PATCH 3/7] omap4: l2x0: Fix init parameter for ES2.0 Santosh Shilimkar
2010-09-09 11:23       ` [PATCH 4/7] omap4: Panda: Add DEBUG_LL support Santosh Shilimkar
2010-09-09 11:23         ` [PATCH 5/7] omap4: Fix bootup crash observed with higher CPU clocks Santosh Shilimkar
2010-09-09 11:23           ` [PATCH 6/7] omap4: Workaround for CMD line reset Santosh Shilimkar
2010-09-09 11:23             ` [PATCH 7/7] KS8851: Correct RX packet allocation Santosh Shilimkar
2010-09-14 15:47             ` [PATCH 6/7] omap4: Workaround for CMD line reset kishore kadiyala
2010-09-14 15:58               ` Madhusudhan [this message]
2010-09-14 16:48                 ` Shilimkar, Santosh
2010-09-15 19:30                   ` Madhusudhan
2010-09-13 16:28       ` [PATCH 3/7] omap4: l2x0: Fix init parameter for ES2.0 Gadiyar, Anand
2010-09-13 16:37         ` Shilimkar, Santosh
2010-09-09 11:42     ` [PATCH 2/7] omap4: Temporary fix silicon version detection Felipe Balbi
2010-09-09 11:47       ` Cousson, Benoit
2010-09-09 12:02         ` Shilimkar, Santosh
2010-09-09 12:07           ` Felipe Balbi
2010-09-09 12:47             ` Cousson, Benoit
2010-09-09 15:55               ` Jon Hunter
2010-09-09 13:01             ` Shilimkar, Santosh
2010-09-09 13:24               ` Shilimkar, Santosh
2010-09-10 12:33                 ` Felipe Balbi
2010-09-10 12:46                   ` Shilimkar, Santosh
2010-09-09 15:21 ` [PATCH 0/7] omap4: Fixes, hacks for es2.0 Kevin Hilman
2010-09-09 15:28   ` Shilimkar, Santosh
2010-09-09 15:54     ` Kevin Hilman
2010-09-09 16:00       ` Shilimkar, Santosh
2010-09-10 10:30         ` Ghorai, Sukumar
2010-09-10 10:38           ` Shilimkar, Santosh
2010-09-10 15:03           ` Ricardo Salveti
2010-09-10 15:09             ` Ghorai, Sukumar
2010-09-10 15:29               ` Ricardo Salveti
2010-09-13 15:06                 ` Ghorai, Sukumar
2010-09-13 18:51                   ` Ricardo Salveti
2010-09-14  4:01                     ` Ghorai, Sukumar
2010-09-15  5:18                       ` Bryan Wu
2010-09-10 15:11             ` Shilimkar, Santosh
2010-09-10  7:14 ` Ghorai, Sukumar

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=4A2EB6064EC0403DB3ADE4A8F347F65C@am.dhcp.ti.com \
    --to=madhu.cr@ti.com \
    --cc=khilman@deeprootsystems.com \
    --cc=kishorek.kadiyala@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=santosh.shilimkar@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 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).