RE: [PATCH 6/7] omap4: Workaround for CMD line reset.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Shilimkar, Santosh [mailto:santosh.shilimkar@xxxxxx]
> Sent: Tuesday, September 14, 2010 11:49 AM
> To: Chikkature Rajashekar, Madhusudhan; 'kishore kadiyala'
> Cc: linux-omap@xxxxxxxxxxxxxxx; tony@xxxxxxxxxxx;
> khilman@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [PATCH 6/7] omap4: Workaround for CMD line reset.
> 
> Madhu,
> > -----Original Message-----
> > From: Chikkature Rajashekar, Madhusudhan
> > Sent: Tuesday, September 14, 2010 9:28 PM
> > To: 'kishore kadiyala'; Shilimkar, Santosh
> > Cc: linux-omap@xxxxxxxxxxxxxxx; tony@xxxxxxxxxxx;
> > khilman@xxxxxxxxxxxxxxxxxxx
> > Subject: RE: [PATCH 6/7] omap4: Workaround for CMD line reset.
> >
> >
> >
> > > -----Original Message-----
> > > From: kishore kadiyala [mailto:kishorek.kadiyala@xxxxxxxxx]
> > > Sent: Tuesday, September 14, 2010 10:47 AM
> > > To: Madhusudhan Chikkature; Santosh Shilimkar
> > > Cc: linux-omap@xxxxxxxxxxxxxxx; tony@xxxxxxxxxxx;
> > > khilman@xxxxxxxxxxxxxxxxxxx
> > > 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@xxxxxx> wrote:
> > > > From: Madhusudhan Chikkature <madhu.cr@xxxxxx>
> > > >
> > > > 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@xxxxxx>
> > > > ---
> > > >  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?
> >
> I have posted this patch on Tony and Kevin's request keeping the original
> author. This is needed to get MMC working on ES2.0 samples.
> 
> Do you have fresh version of this patch?
> 
Yes. There is a TRM update lately that explains the procedure for CMD line
reset changes in ES2. I will post that patch.

Regards,
Madhu

> Regards,
> Santosh

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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux