driver using device trees, irqs, powerpc

Grant Likely grant.likely at secretlab.ca
Fri Oct 19 08:23:12 EST 2007


On 10/18/07, Alan Bennett <alan at akb.net> 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 at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list