About libertas_spi: 16 bit data transfer

Ivan Li lijinlei1 at 163.com
Wed Feb 16 04:28:45 EST 2011


BTW: I use Linux-2.6.31.

----- Original Message ----- 
From: "Ivan Li" <lijinlei1 at 163.com>
To: <libertas-dev at lists.infradead.org>
Sent: Wednesday, February 16, 2011 4:12 PM
Subject: About libertas_spi: 16 bit data transfer


> Hi guys,
> 
> I am using SD8686 on i.MX31 with SPI interface, and for now I can't make it work.
> 
> The i.MX31 supports 8, 16, 32bit for data transfer, and as I know the SD8686 transfers data in 16 bits.
> So I made below setup callback: 
> 
> static int mxc_libertas_setup(struct spi_device *spi)
> {
> spi->bits_per_word = 16;
> spi_setup(spi);
> return 0;
> }
> 
> But, in if_spi.c, I still see the "word" data is tranmitting in bytes.
> Can anybody explain a little bit? And is there anybody making sd8686 spi work on i.MX series?
> Thanks!
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev


More information about the libertas-dev mailing list