Re: sharp zaurus sl-5500 (collie): touchscreen now works

From: Marcin Juszkiewicz
Date: Fri Jun 23 2006 - 06:19:21 EST


Yesterday someone added following info into OpenZaurus FAQ [1]:

Zaurus SL-5500 MMC/SDIO technical info

For communicating with the MMC/SDIO card SL-5500 uses the LoCoMo built-in
SPI controller (secondary communication protocol) and 3 LoCoMo GPIOs

LOCOMO_SPIMD for SPI MODE
LOCOMO_SPICT for SPI CONTROL
LOCOMO_SPIST for SPI STATUS
LOCOMO_SPITD for SPI TRANSMIT (write)
LOCOMO_SPIRD for SPI RECEIVE (read)

LOCOMO_GPIO(13) for MMC irq / card detect
LOCOMO_GPIO(14) for MMC write protect test bit
LOCOMO_GPIO(15) for MMC power

All these registers are 16bit, and data transfers are 8bit. On resume
the SPI MODE is set to 0x6c14, on suspend to 0x3c14.

Useful bits in the SPI MODE register: 0x0001, 0x0040, 0x0080.
Useful bits in the SPI CONTROL register: 0x0040 and 0x0080.

For further information read the Sandisk SD card manual. A software
implementation of the SPI MMC/SD protocol driver can be be found at
http://kiel.kool.dk/mmc.c

Maybe this will help.

1. http://openzaurus.berlios.de/FAQ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/