]> git.baikalelectronics.ru Git - kernel.git/commit
misc: Add CARMA DATA-FPGA Access Driver
authorIra Snyder <iws@ovro.caltech.edu>
Fri, 11 Feb 2011 13:34:29 +0000 (13:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 19 May 2011 06:55:08 +0000 (16:55 +1000)
commit3a71ac152b1b0a556b2a3e4b81524db8ecaedb37
tree1628c09fc7a4eaae4a4f3b27e5bf77c536990874
parent370049cc93c74f7b95f7fee4632bf71e1f1b476c
misc: Add CARMA DATA-FPGA Access Driver

This driver allows userspace to access the data processing FPGAs on the
OVRO CARMA board. It has two modes of operation:

1) random access

This allows users to poke any DATA-FPGA registers by using mmap to map
the address region directly into their memory map.

2) correlation dumping

When correlating, the DATA-FPGA's have special requirements for getting
the data out of their memory before the next correlation. This nominally
happens at 64Hz (every 15.625ms). If the data is not dumped before the
next correlation, data is lost.

The data dumping driver handles buffering up to 1 second worth of
correlation data from the FPGAs. This lowers the realtime scheduling
requirements for the userspace process reading the device.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/carma/Kconfig [new file with mode: 0644]
drivers/misc/carma/Makefile [new file with mode: 0644]
drivers/misc/carma/carma-fpga.c [new file with mode: 0644]