[PATCH v8 0/2] Modularization of DFL private feature drivers

From: Xu Yilun
Date: Mon Sep 07 2020 - 12:25:49 EST


This patchset makes it possible to develop independent driver modules
for DFL private features. It also helps to leverage existing kernel
drivers to enable some IP blocks in DFL.


Patch #1: Introduce the dfl bus, then dfl devices could be supported by
independent dfl drivers.
Patch #2: An example of the dfl driver for N3000 nios private feature.


Main changes from v7:
- remove the dfl_info_attr macro in dfl framework.
- add sysfs interfaces for retimer mode in dfl-n3000-nios, also doc update.
- delete duplicated sysfs interfaces description in dfl-n3000-nios doc.
- minor fixes.


Xu Yilun (2):
fpga: dfl: create a dfl bus type to support DFL devices
fpga: dfl: add support for N3000 Nios private feature

Documentation/ABI/testing/sysfs-bus-dfl | 15 +
.../ABI/testing/sysfs-bus-dfl-devices-n3000-nios | 49 ++
Documentation/fpga/dfl-n3000-nios.rst | 73 +++
Documentation/fpga/index.rst | 1 +
drivers/fpga/Kconfig | 11 +
drivers/fpga/Makefile | 2 +
drivers/fpga/dfl-n3000-nios.c | 574 +++++++++++++++++++++
drivers/fpga/dfl.c | 265 +++++++++-
drivers/fpga/dfl.h | 86 +++
9 files changed, 1068 insertions(+), 8 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-bus-dfl
create mode 100644 Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios
create mode 100644 Documentation/fpga/dfl-n3000-nios.rst
create mode 100644 drivers/fpga/dfl-n3000-nios.c

--
2.7.4