From: Manuel L. <ma...@ro...> - 2007-07-06 14:51:24
|
Hi, > I'm looking for drivers for the sh3 onchip devices. I have only scif > functional by now in 2.6. Most of the onchip devices were supportet in > 2.4, but the drivers were never in vanilla. > > I have drivers for the following SH7720 onchip devices, but only for 2.4 > usb-host, which was based on the generic usb-ohci.c > usb-gadget, is also listet on the usb-gadget site, but seems to be 2.4 > only > LCD controller (found nowhere else) > > Does anybody know if there are recent versions of these drivers? Free drivers for recent Linux kernels are almost non-existant; fortunately the datasheets are quite good (compared to other embedded SoCs I'm working with..) and writing linux drivers isn't that hard ;-) That said, did you have a look at the CE-Linux tree(s)? > I also had the smsc9115 ethernet controller working in 2.4 with the sh3 > driver from the smsc homepage. There is a SMSC911X driver in 2.6, but it > is only for Xscale (ARCH_PXA), has anybody already portet it on SH? Have a look at the smc91x.h which works in similar ways: in theory you have to add something like this (if your board has the chip on a 16bit bus) to the smc911x.h file: #ifdef CONFIG_MY_SH_BOARD #define SMC_USE_16BIT 1 #endif Then register a platform device for the "smc911x" device with appropriate MMIO and IRQ in the board setup code. Manuel Lauss |