On 25 March 2015 at 15:37, huziqin <[email protected]> wrote:
> hello there,
> Have you check this page:
> http://linux-sunxi.org/SPIdev
> there is a step by step sample of using the SPI. I used to went it through
> and it works on my cubieboard2 (A20 chipset).
> I hope it would be helpful for you.

Yes, I have read exactly that page.

It has no information for mainline and spidev does not work for me
(create any device) on 3.4.

>
> 在 2015年3月25日,上午12:11,Emilio López <[email protected]> 写道:
>

>
> "spidev" is not a supported compatible
>
> http://lxr.free-electrons.com/source/drivers/spi/spidev.c#L692
>
> Have a second look at my example from earlier. You'll probably want to add
> your own compatible to the driver (unless you want to use a dh2228fv, that
> is).
>

Actually, spidev seems to work allright as compatible.

My card reader does not work when attached to the SPI bus, unfortunately.

I wonder if I have problem setting the SS because driver for some
other card reader manages to get 0x00 output but I get only 0xFF.

I guess I will try some other device.

Thanks

Michal

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to