public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: sharp zaurus sl-5500 (collie): touchscreen now works
       [not found] <20060610202541.GA26697@elf.ucw.cz>
@ 2006-06-12 19:08 ` Richard Purdie
  2006-06-14 23:28   ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2006-06-12 19:08 UTC (permalink / raw)
  To: Pavel Machek; +Cc: lenz, kernel list, metan, arminlitzel

On Sat, 2006-06-10 at 22:25 +0200, Pavel Machek wrote:
> I hacked touchscreen driver a bit (with great help from metan) and it
> is now actually usable, without much filtering in userland.

That's good to know! :)

> (Very) dirty bigdiff is attached. Proper battery charging (very slow
> charging is done even without software help) and MMC/SD support are
> two biggest issues now -- on the kernel front.

As far as I can see, we should be able to use the existing driver once
we adapt the code for the SA1100 features. The charging circuitry is
very similar to the other models as far as I can tell.

MMC/SD is more of a problem. There is one person with the specs who
could write the driver but he can't pass them to anyone else :-(.

> On the userland front... any ideas where to get 2.6-compatible GPE
> environment? It would be nice to see X running :-). Bluetooth support
> would be nice bonus ;-).

You can build such an image with OpenEmbedded easily enough ;-). I guess
you're going to have to run it from the CF card though as the internal
flash isn't big enough and MMC/SD doesn't work?

Cheers,

Richard



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

* Re: sharp zaurus sl-5500 (collie): touchscreen now works
  2006-06-12 19:08 ` sharp zaurus sl-5500 (collie): touchscreen now works Richard Purdie
@ 2006-06-14 23:28   ` Pavel Machek
  2006-06-14 23:55     ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2006-06-14 23:28 UTC (permalink / raw)
  To: Richard Purdie; +Cc: lenz, kernel list, metan, arminlitzel

Hi!

> > I hacked touchscreen driver a bit (with great help from metan) and it
> > is now actually usable, without much filtering in userland.
> 
> That's good to know! :)

Yep, it makes collie usable.

> > (Very) dirty bigdiff is attached. Proper battery charging (very slow
> > charging is done even without software help) and MMC/SD support are
> > two biggest issues now -- on the kernel front.
> 
> As far as I can see, we should be able to use the existing driver once
> we adapt the code for the SA1100 features. The charging circuitry is
> very similar to the other models as far as I can tell.

Agreed. I just need to find out why ADCs seem to return random values.

> MMC/SD is more of a problem. There is one person with the specs who
> could write the driver but he can't pass them to anyone else :-(.

Did we ever have working MMC with open-source drivers (on collie)? I
thought we had MMC but not SD...

> > On the userland front... any ideas where to get 2.6-compatible GPE
> > environment? It would be nice to see X running :-). Bluetooth support
> > would be nice bonus ;-).
> 
> You can build such an image with OpenEmbedded easily enough ;-). I guess
> you're going to have to run it from the CF card though as the internal
> flash isn't big enough and MMC/SD doesn't work?

Well, provided I can get bitbake to work :-).

But I sense problems... I need CF slot for bluetooth card -- irda is
not really usable. I thought I seen some 16MB gpe images... and then,
there's RAM, too.

								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: sharp zaurus sl-5500 (collie): touchscreen now works
  2006-06-14 23:28   ` Pavel Machek
@ 2006-06-14 23:55     ` Richard Purdie
  2006-06-23 10:20       ` Marcin Juszkiewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2006-06-14 23:55 UTC (permalink / raw)
  To: Pavel Machek; +Cc: lenz, kernel list, metan, arminlitzel

On Thu, 2006-06-15 at 01:28 +0200, Pavel Machek wrote:
> > MMC/SD is more of a problem. There is one person with the specs who
> > could write the driver but he can't pass them to anyone else :-(.
> 
> Did we ever have working MMC with open-source drivers (on collie)? I
> thought we had MMC but not SD...

No open source driver for MMC or SD exists for collie and never has.

Richard


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

* Re: sharp zaurus sl-5500 (collie): touchscreen now works
  2006-06-14 23:55     ` Richard Purdie
@ 2006-06-23 10:20       ` Marcin Juszkiewicz
  2006-06-23 10:48         ` Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Marcin Juszkiewicz @ 2006-06-23 10:20 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Pavel Machek, lenz, kernel list, metan, arminlitzel

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

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

* Re: sharp zaurus sl-5500 (collie): touchscreen now works
  2006-06-23 10:20       ` Marcin Juszkiewicz
@ 2006-06-23 10:48         ` Pavel Machek
  2006-06-23 12:47           ` Marcin Juszkiewicz
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2006-06-23 10:48 UTC (permalink / raw)
  To: Marcin Juszkiewicz; +Cc: Richard Purdie, lenz, kernel list, metan, arminlitzel

Hi!

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

Thanks a lot for a pointer.

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

Do you have any contact to author of this? It lacks any copyright/GPL
info :-(. Is wrt54g also sa1100-based?

> Maybe this will help.

Yes, thanks a lot.

> 1. http://openzaurus.berlios.de/FAQ
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: sharp zaurus sl-5500 (collie): touchscreen now works
  2006-06-23 10:48         ` Pavel Machek
@ 2006-06-23 12:47           ` Marcin Juszkiewicz
  0 siblings, 0 replies; 6+ messages in thread
From: Marcin Juszkiewicz @ 2006-06-23 12:47 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Richard Purdie, lenz, kernel list, metan, arminlitzel, Dirk Opfer

On 6/23/06, Pavel Machek <pavel@suse.cz> wrote:

> > >Zaurus SL-5500 MMC/SDIO technical info

> Do you have any contact to author of this? It lacks any copyright/GPL
> info :-(.

No info about author.

>  Is wrt54g also sa1100-based?

wrt54g is MIPS powered:
root@OpenWrt:~# cat /proc/cpuinfo
system type             : Broadcom BCM947XX
processor               : 0
cpu model               : BCM3302 V0.7
BogoMIPS                : 215.44

> > Maybe this will help.

> Yes, thanks a lot.

Visit #oe on freenode IRC network sometimes - Zaurus kernel.
discussion are more often there.

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

end of thread, other threads:[~2006-06-23 12:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060610202541.GA26697@elf.ucw.cz>
2006-06-12 19:08 ` sharp zaurus sl-5500 (collie): touchscreen now works Richard Purdie
2006-06-14 23:28   ` Pavel Machek
2006-06-14 23:55     ` Richard Purdie
2006-06-23 10:20       ` Marcin Juszkiewicz
2006-06-23 10:48         ` Pavel Machek
2006-06-23 12:47           ` Marcin Juszkiewicz

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