diff options
author | Alan Tull <atull@opensource.altera.com> | 2015-10-07 17:36:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-07 19:08:15 +0200 |
commit | 6a8c3be7ec8eb3c1197766f9245e0d65a4e5aff8 (patch) | |
tree | 311c3845b068f737086813b1231b1c3b695f0a1c /drivers/fpga/Makefile | |
parent | fpga manager: add sysfs interface document (diff) | |
download | linux-6a8c3be7ec8eb3c1197766f9245e0d65a4e5aff8.tar.xz linux-6a8c3be7ec8eb3c1197766f9245e0d65a4e5aff8.zip |
add FPGA manager core
API to support programming FPGA's.
The following functions are exported as GPL:
* fpga_mgr_buf_load
Load fpga from image in buffer
* fpga_mgr_firmware_load
Request firmware and load it to the FPGA.
* fpga_mgr_register
* fpga_mgr_unregister
FPGA device drivers can be added by calling
fpga_mgr_register() to register a set of
fpga_manager_ops to do device specific stuff.
* of_fpga_mgr_get
* fpga_mgr_put
Get/put a reference to a fpga manager.
The following sysfs files are created:
* /sys/class/fpga_manager/<fpga>/name
Name of low level driver.
* /sys/class/fpga_manager/<fpga>/state
State of fpga manager
Signed-off-by: Alan Tull <atull@opensource.altera.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/Makefile')
-rw-r--r-- | drivers/fpga/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/fpga/Makefile b/drivers/fpga/Makefile new file mode 100644 index 000000000000..3313c5266795 --- /dev/null +++ b/drivers/fpga/Makefile @@ -0,0 +1,8 @@ +# +# Makefile for the fpga framework and fpga manager drivers. +# + +# Core FPGA Manager Framework +obj-$(CONFIG_FPGA) += fpga-mgr.o + +# FPGA Manager Drivers |