public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* omap850 : MMC connected to GPIO ?
@ 2006-08-24 15:41 Anand SVR
  2006-08-28  7:13 ` I2C Remote I/O error Arnold
  0 siblings, 1 reply; 3+ messages in thread
From: Anand SVR @ 2006-08-24 15:41 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I am trying to bring up the sd card on my omap850 based pda. The
omap.c code snippet as given below within mmc_omap_power () doesn't
have a check either for omap850 or omap730.  So, the code is falling
off to  omap_set_gpio_dataout() and subsequently the pda is getting
frozen. In the same code, what cpu does omap850 come under ?

I would like to know if the mmc/sd on omap850 connected to GPIO. I am
not finding the relevant datasheet that could answer my doubt. I would
really appreciate if someone could clarify.

Regards
Anand

The code snippet ....


...
  if (machine_is_omap_innovator())
               mmc_omap_power         innovator_fpga_socket_power(0);
                else if (machine_is_omap_h2())
                        tps65010_set_gpio_out_value(GPIO3, LOW);
                else if (machine_is_omap_h3())
                        tps65010_set_gpio_out_value(GPIO4, LOW);
                else if (cpu_is_omap24xx()) {
                        u16 reg = OMAP_MMC_READ(host->base, CON);
                        OMAP_MMC_WRITE(host->base, CON, reg & ~(1 << 11));
                } else if (host->power_pin >= 0)
                                omap_set_gpio_dataout(host->power_pin, 0);
...

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

end of thread, other threads:[~2006-08-28  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 15:41 omap850 : MMC connected to GPIO ? Anand SVR
2006-08-28  7:13 ` I2C Remote I/O error Arnold
2006-08-28  8:09   ` about gpio w.b.b

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox