On 10/18/07, Alan Bennett <[EMAIL PROTECTED]> wrote: > Need help adding new driver to supports a custom FPGA. Is there a > good driver that anyone would recommend I can look at that is fully > functional, works with 2.6.23 (powerpc style) and is described within > a device tree? > > Bonus points: > uses freescale interrupts (timers/irq's from mpc 82xx/etc...) > isn't enet / cpm_uart (I've already looked at these)
Take a look at the xilinx device drivers. drivers/block/xsysace.c drivers/video/xilinxfb.c driver/serial/uartlite.c Each of these drivers support both platform bus and of_platform bus (device tree). All three are merged into Linus' mainline tree. Cheers, g. > > -Alan > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [EMAIL PROTECTED] (403) 399-0195 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev