fpga: xilinx-selectmap: add new driver
authorCharles Perry <charles.perry@savoirfairelinux.com>
Thu, 21 Mar 2024 22:04:35 +0000 (18:04 -0400)
committerXu Yilun <yilun.xu@linux.intel.com>
Sun, 31 Mar 2024 14:44:21 +0000 (22:44 +0800)
commit104712a0866f7e3eb050271fc104c543aac642e8
tree40bfda05cbf771f551c616945d538201453feebb
parent8afcb190f3aac8d9ae4ca4f84a67bb281a4d9a3f
fpga: xilinx-selectmap: add new driver

Xilinx 7 series FPGA can be programmed using a parallel port named
the SelectMAP interface in the datasheet. This interface is compatible
with the i.MX6 EIM bus controller but other types of external memory
mapped parallel bus might work.

xilinx-selectmap currently only supports the x8 mode where data is loaded
at one byte per rising edge of the clock, with the MSb of each byte
presented to the D0 pin.

Signed-off-by: Charles Perry <charles.perry@savoirfairelinux.com>
[yilun.xu@linux.intel.com: replace data type of i from u32 to size_t]
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20240321220447.3260065-4-charles.perry@savoirfairelinux.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
drivers/fpga/Kconfig
drivers/fpga/Makefile
drivers/fpga/xilinx-selectmap.c [new file with mode: 0644]