aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fpga/altera-pr-ip-core.h
diff options
context:
space:
mode:
authorMatthew Gerlach <matthew.gerlach@linux.intel.com>2017-03-23 20:34:28 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 11:45:28 -0400
commitd201cc17a8a31cc6c4f3944988fe9e2f04b021fb (patch)
treec80bb1c56a333e93e48a93a957a7890f8e5d4a16 /include/linux/fpga/altera-pr-ip-core.h
parent42d5ec954719917e2b7a9160fe05d2316eece5bf (diff)
fpga pr ip: Core driver support for Altera Partial Reconfiguration IP.
Adding the core functions necessary for a fpga-mgr driver for the Altera Partial IP component. It is intended for these functions to be used by the various bus implementations like the platform bus or the PCIe bus. Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com> Acked-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/altera-pr-ip-core.h')
-rw-r--r--include/linux/fpga/altera-pr-ip-core.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/fpga/altera-pr-ip-core.h b/include/linux/fpga/altera-pr-ip-core.h
new file mode 100644
index 000000000000..3810a9033f49
--- /dev/null
+++ b/include/linux/fpga/altera-pr-ip-core.h
@@ -0,0 +1,29 @@
1/*
2 * Driver for Altera Partial Reconfiguration IP Core
3 *
4 * Copyright (C) 2016 Intel Corporation
5 *
6 * Based on socfpga-a10.c Copyright (C) 2015-2016 Altera Corporation
7 * by Alan Tull <atull@opensource.altera.com>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms and conditions of the GNU General Public License,
11 * version 2, as published by the Free Software Foundation.
12 *
13 * This program is distributed in the hope it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * more details.
17 *
18 * You should have received a copy of the GNU General Public License along with
19 * this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#ifndef _ALT_PR_IP_CORE_H
23#define _ALT_PR_IP_CORE_H
24#include <linux/io.h>
25
26int alt_pr_register(struct device *dev, void __iomem *reg_base);
27int alt_pr_unregister(struct device *dev);
28
29#endif /* _ALT_PR_IP_CORE_H */