Add lyrvpss example driver for the SFFSDR board
commit2cd1c82cc4aa590f30e47fc9531711483f2d81b3
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 5 Mar 2009 21:04:23 +0000 (5 16:04 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 11 Mar 2009 18:14:55 +0000 (11 13:14 -0500)
tree6d33fa89e75125bc93b3fcff2aa227e503bae77b
parent28ed2cfd53dbd3f2ae539266752f2b3dc57ff9d5
Add lyrvpss example driver for the SFFSDR board

Currently there is only a VPFE driver in lyrvpss, and it is called luyrvpfe.
It works with a FPGA bitstream that generates a ramp and sends it over the
VPFE interface. The lyrvpfe driver receives an interrupt each time the HSYNC
line is pulsed (even if the VDINT0 interrupt line is used), and stores and
checks the data to make sure that it is valid. The driver will request a new
frame from the FPGA each time there is a read from /proc/lyrvpfe. For example,
to receive a new frame, issue the following:

  $> cat /proc/lyrvpfe

This will send a request to the FPGA (using the GPIO line) to send a new frame,
wait one second then display the contents of the PING and PONG reception buffers.

Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
arch/arm/mach-davinci/include/mach/sffsdr-lyrvpfe.h [new file with mode: 0644]
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/lyrvpss/Kconfig [new file with mode: 0644]
drivers/char/lyrvpss/Makefile [new file with mode: 0644]
drivers/char/lyrvpss/vpfe.c [new file with mode: 0644]