1
5x00 Hardware / Alpha Sd Driver For Collie
« on: April 01, 2007, 12:02:45 pm »
Hello,
I wrote a SPI Driver for Collie. It's very slow, because it runs at the lowest clock ATM. You can play with different speed using:
/sys/bus/locomo-bus/drivers/locomo-spi/clockmult
/sys/bus/locomo-bus/drivers/locomo-spi/clockbase
I don't know yet what the numbers mean, but I will soon.
Patches can be found at http://www2.informatik.hu-berlin.de/~tkunze/zaurus/patches .
The important ones are:
locomo-r0.patch:
-fixes GPIO direction setting
-implements SPI irq setting
locomo_spi-r0.patch
-the spi driver
mmc_spi-r1.patch
-from LKML with very little changes by me
I will provide a bootstrap-image for testing soon:
http://www2.informatik.hu-berlin.de/~tkunze/zaurus/images
Cheers,
Thomas
I wrote a SPI Driver for Collie. It's very slow, because it runs at the lowest clock ATM. You can play with different speed using:
/sys/bus/locomo-bus/drivers/locomo-spi/clockmult
/sys/bus/locomo-bus/drivers/locomo-spi/clockbase
I don't know yet what the numbers mean, but I will soon.
Patches can be found at http://www2.informatik.hu-berlin.de/~tkunze/zaurus/patches .
The important ones are:
locomo-r0.patch:
-fixes GPIO direction setting
-implements SPI irq setting
locomo_spi-r0.patch
-the spi driver
mmc_spi-r1.patch
-from LKML with very little changes by me
I will provide a bootstrap-image for testing soon:
http://www2.informatik.hu-berlin.de/~tkunze/zaurus/images
Cheers,
Thomas