This is a resend of the previous (unfortunately late) patchset of changes for FPGA DFL. This contains Matthew's changes to allow for more flexible discovery of DFLs. Xu's changeset adds support for DFL device drivers. Two of the first users are part of the patchset: dfl-emif a memory controller, as well as support for the NIOS N3000. Thanks, Moritz Matthew Gerlach (2): fpga: dfl: refactor cci_enumerate_feature_devs() fpga: dfl-pci: locate DFLs by PCIe vendor specific capability Xu Yilun (6): fpga: dfl: fix the definitions of type & feature_id for dfl devices fpga: dfl: move dfl_device_id to mod_devicetable.h fpga: dfl: add dfl bus support to MODULE_DEVICE_TABLE() fpga: dfl: move dfl bus related APIs to include/linux/dfl.h fpga: dfl: add support for N3000 Nios private feature memory: dfl-emif: add the DFL EMIF private feature driver .../ABI/testing/sysfs-bus-dfl-devices-emif | 25 + .../testing/sysfs-bus-dfl-devices-n3000-nios | 47 ++ Documentation/fpga/dfl.rst | 27 + MAINTAINERS | 3 +- drivers/fpga/Kconfig | 11 + drivers/fpga/Makefile | 2 + drivers/fpga/dfl-n3000-nios.c | 588 ++++++++++++++++++ drivers/fpga/dfl-pci.c | 165 +++-- drivers/fpga/dfl.c | 4 +- drivers/fpga/dfl.h | 85 +-- drivers/memory/Kconfig | 9 + drivers/memory/Makefile | 2 + drivers/memory/dfl-emif.c | 207 ++++++ include/linux/dfl.h | 86 +++ include/linux/mod_devicetable.h | 24 + scripts/mod/devicetable-offsets.c | 4 + scripts/mod/file2alias.c | 13 + 17 files changed, 1180 insertions(+), 122 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-dfl-devices-emif create mode 100644 Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios create mode 100644 drivers/fpga/dfl-n3000-nios.c create mode 100644 drivers/memory/dfl-emif.c create mode 100644 include/linux/dfl.h -- 2.30.0