drivers: fpga controller: add fpga api

This adds new FPGA controller which allow to control FPGA chips.

FPGA controller has been created to enable bitstream loading
into the reprogrammable logic. It adds completely new API,
which enables to check status of the FPGA chip, power it on
or off and reset it.

Signed-off-by: Mateusz Sierszulski <msierszulski@internships.antmicro.com>
Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
This commit is contained in:
Mateusz Sierszulski 2021-06-23 09:40:20 +02:00 committed by Christopher Friedt
commit 2c718b2726
5 changed files with 179 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library()

17
drivers/fpga/Kconfig Normal file
View file

@ -0,0 +1,17 @@
# FPGA driver configuration options
# Copyright (c) 2021 Antmicro <www.antmicro.com>
# SPDX-License-Identifier: Apache-2.0
menuconfig FPGA
bool "FPGA Drivers"
help
Enable support for FPGA drivers.
if FPGA
module = fpga
module-str = fpga
source "subsys/logging/Kconfig.template.log_config"
endif # FPGA