Re: [PATCH 0/5] mmc: host: omap_hsmmc: a few improvements

From: Felipe Balbi
Date: Thu Apr 24 2014 - 10:49:02 EST


On Thu, Apr 24, 2014 at 08:13:16PM +0530, Balaji T K wrote:
> On Thursday 24 April 2014 08:09 PM, Felipe Balbi wrote:
> >On Thu, Apr 24, 2014 at 08:01:19PM +0530, Balaji T K wrote:
> >>On Thursday 27 March 2014 05:34 AM, Felipe Balbi wrote:
> >>>Hi,
> >>>
> >>>this series lets us access the newer registers introduced
> >>>back in OMAP4 which give us some valid information about
> >>>the OMAP HSMMC IP like max block size, support for ADMA,
> >>>support for Retention.
> >>
> >>"Support for Retention" looks interesting, can you shed more lights on
> >>it
> >
> >HWINFO has a bit (bit 6) which tells you whether retention is supported,
> >it's in all TRMs since OMAP3630 or so.
> >
> >"6 RERETMODE Retention mode generic parameter
> > This bit field indicates whether the
> > retention mode is supported using the
> > pin PIRFFRET.
> >
> > 0x0: Retention mode disabled
> > 0x1: Retention mode enabled"
> >
>
> I have seen that but just wondering how the driver can make use of it
> :-)

oh, perhaps you can use to conditionally save context. The difficulty is
knowing if we're going to RET or OFF, but that could be extrapolated
from pm_qos, perhaps ?!?

just a thought.

--
balbi

Attachment: signature.asc
Description: Digital signature