AW: spidev.c driver on the ppc8247 (kernel 2.6.27.19)

2009-03-20 Thread Stepanov, Sergej
_err: of_node_put(np); return -1; } arch_initcall(ids8247_spi_setup); #endif /* CONFIG_SPI_IDS8247 */ .. Sorry, i know it looks very dirty... Regards Sergej. ____ Von: Daniel Ng [daniel.ng1...@gmail.com] Gesendet: Freitag, 20. März 2009 02:19

AW: spidev.c driver on the ppc8247 (kernel 2.6.27.19)

2009-03-18 Thread Stepanov, Sergej
Hi Daniel, in the attachment i send a spi driver (little bit "of") done by myself 1. to init it you can use the following in your dts-file s...@f000 { ... c...@119c0 { ... s...@11aa0 { device_type = "spi";

AW: mmc_spi with GPIO_MODE_3

2008-10-31 Thread Stepanov, Sergej
1. Oktober 2008 14:45 An: Stepanov, Sergej Cc: linuxppc-dev@ozlabs.org Betreff: Re: mmc_spi with GPIO_MODE_3 On Fri, Oct 31, 2008 at 01:49:31PM +0100, Stepanov, Sergej wrote: > Hello Anton, > > could you say me please, would the mmc_spi-driver function with GPIO_MODE_3? You mean SPI_MODE

mmc_spi with GPIO_MODE_3

2008-10-31 Thread Stepanov, Sergej
Hello Anton, could you say me please, would the mmc_spi-driver function with GPIO_MODE_3? I have seen in mmc_spi_probe() this spi->mode = SPI_MODE_0. What should come back if i have CI and CP other then in SPI_MODE_0? Thank you for any advice. Sergej.