[PATCH v3 0/5] add DFL bus support to MODULE_DEVICE_TABLE()
From: Xu Yilun
Date: Thu Sep 24 2020 - 13:07:25 EST
I will refactor the code for dfl-n3000-nios driver, so just sent the
fpga-dfl bus code this time. fpga-dfl-emif driver could be the first
use case for fpga-dfl bus.
Main changes from v1:
- A new patch (Patch #3) to fix the description.
- Rename the dfl-bus.h to dfl.h
- Updated the MAINTAINERS under FPGA DFL DRIVERS.
- Improve comments and minor fixes.
Main changes from v2:
- Change the bus name from "dfl" to "fpga-dfl", also rename related
variables, functions ...
- Changes the data type of fpga_dfl_device_id.type from u8 to u16
- Explicitly defines the values of enum fpga_dfl_id_type
- Delete the comments for the valid bits of type & feature_id
- changes MODALIAS format for fpga dfl devices
Xu Yilun (5):
fpga: dfl: rename the bus type "dfl" to "fpga-dfl"
fpga: dfl: fix the definitions of type & feature_id for dfl devices
fpga: dfl: move fpga_dfl_device_id to mod_devicetable.h
fpga: dfl: add fpga dfl bus support to MODULE_DEVICE_TABLE()
fpga: dfl: move fpga dfl bus related APIs to include/linux/fpga/dfl.h
Documentation/ABI/testing/sysfs-bus-dfl | 15 --
Documentation/ABI/testing/sysfs-bus-fpga-dfl | 15 ++
MAINTAINERS | 3 +-
drivers/fpga/dfl.c | 256 ++++++++++++++-------------
drivers/fpga/dfl.h | 89 +---------
include/linux/fpga/dfl.h | 87 +++++++++
include/linux/mod_devicetable.h | 12 ++
scripts/mod/devicetable-offsets.c | 4 +
scripts/mod/file2alias.c | 13 ++
9 files changed, 265 insertions(+), 229 deletions(-)
delete mode 100644 Documentation/ABI/testing/sysfs-bus-dfl
create mode 100644 Documentation/ABI/testing/sysfs-bus-fpga-dfl
create mode 100644 include/linux/fpga/dfl.h
--
2.7.4