Ian Thompson <> [2011-05-26 15:17:52]:
> I'm trying to test the ep93xx_spi module with the TS7300 but insmoding
> ep93xx_spi.ko always gives me a
> "-1 No such device" error.
Ah, you're still on 2.6.34, so I was wondering where the hell is ep93xx_spi
module in my 2.6.38 tree. Well, this is backported driver from the newer
kernel. Read the docs about the details, it should be in
Documentation/spi/ep93xx_spi. There's sample also, another one is Matthieu's
ts72xx_spi_tmp124.
> I can't see where it gets registered in the code.
Nowhere :-) As I understand it, it's just generic ep93xx SPI framework. You
need to explicitly tell the driver what SPI device and chip select/gpio pin
it's using and register it in the board file ts72xx.c manually.
-- ynezz
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|