linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] OMAP4-hsmmc: card-detect/regulator changes
@ 2010-03-31 11:51 kishore kadiyala
  2010-03-31 12:29 ` kishore kadiyala
  0 siblings, 1 reply; 2+ messages in thread
From: kishore kadiyala @ 2010-03-31 11:51 UTC (permalink / raw)
  To: linux-omap, linux-mmc; +Cc: adrian.hunter, Madhusudhan, jarkko.lavinen

Hi,
I am trying to implement card-detect and regulator changes for HSMMC
driver on OMAP4.

In OMAP4, hsmmc doesn't use any gpio line for card detect and instead
uses interrupt line
from TWL6030 which also provides a register for
status[Inserted/removed] of the removable Card.

Currently all the gpio related stuff moved from board file "hsmmc.c"
to driver file "omap_hsmmc.c"
[http://marc.info/?l=linux-mmc&m=126369200005981&w=2]and since the
card-detect implementation
for twl6030 uses I2c read/write it doesn't make sense to have the
card-detect implementation in board file.

And the regulator changes can remain in driver file.

Regards,
Kishore

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC] OMAP4-hsmmc: card-detect/regulator changes
  2010-03-31 11:51 [RFC] OMAP4-hsmmc: card-detect/regulator changes kishore kadiyala
@ 2010-03-31 12:29 ` kishore kadiyala
  0 siblings, 0 replies; 2+ messages in thread
From: kishore kadiyala @ 2010-03-31 12:29 UTC (permalink / raw)
  To: linux-omap, linux-mmc; +Cc: adrian.hunter, Madhusudhan, jarkko.lavinen

Small correction below

On Wed, Mar 31, 2010 at 5:21 PM, kishore kadiyala
<kishorek.kadiyala@gmail.com> wrote:
> Hi,
> I am trying to implement card-detect and regulator changes for HSMMC
> driver on OMAP4.
>
> In OMAP4, hsmmc doesn't use any gpio line for card detect and instead
> uses interrupt line
> from TWL6030 which also provides a register for
> status[Inserted/removed] of the removable Card.
>
> Currently all the gpio related stuff moved from board file "hsmmc.c"
> to driver file "omap_hsmmc.c"
> [http://marc.info/?l=linux-mmc&m=126369200005981&w=2]and since the
> card-detect implementation
> for twl6030 uses I2c read/write it doesn't make sense to have the
   card-detect implementation in driver file.
   Does it make sense to have the gpio and non-gpio related stuff for
card detect
    in board file?
   Any suggestions appreciated.
>
> And the regulator changes can remain in driver file.
>
> Regards,
> Kishore
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-31 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-31 11:51 [RFC] OMAP4-hsmmc: card-detect/regulator changes kishore kadiyala
2010-03-31 12:29 ` kishore kadiyala

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