1# Copyright (c) 2022 Meta 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig ICE40_FPGA 5 bool "Lattice iCE40 fpga driver" 6 default y 7 depends on (DT_HAS_LATTICE_ICE40_FPGA_ENABLED || \ 8 DT_HAS_LATTICE_ICE40_FPGA_BITBANG_ENABLED) 9 imply CRC 10 depends on SPI 11 help 12 Enable support for the Lattice iCE40 fpga driver. 13 14if ICE40_FPGA 15 16config ICE40_FPGA_SPI 17 bool "Lattice iCE40 fpga SPI driver" 18 default y 19 depends on DT_HAS_LATTICE_ICE40_FPGA_ENABLED 20 help 21 Enable support for the Lattice iCE40 fpga SPI driver. 22 23config ICE40_FPGA_BITBANG 24 bool "Lattice iCE40 fpga driver GPIO bitbang" 25 default y 26 select EXPERIMENTAL 27 depends on DT_HAS_LATTICE_ICE40_FPGA_BITBANG_ENABLED 28 help 29 Enable support for the Lattice iCE40 fpga GPIO bitbang driver. 30 31endif # ICE40_FPGA 32