Moritz writes: FPGA DFL Changes for 5.4 This pull-request contains the FPGA DFL changes for 5.4 - The first three patches are cleanup patches making use of dev_groups and making the init callback optional. - One patch adds userclock sysfs entries that are DFL specific - One patch exposes AFU port disable/enable functions - One patch adds error reporting - One patch adds AFU SignalTap support - One patch adds FME global error reporting - The final patch is a documentation patch that decribes the virtualization interfaces This patchset requires the 'dev_groups_all_drivers' tag from drivers core for the dev_groups refactoring as well as the DFL changes already in char-misc-next. Signed-off-by: Moritz Fischer <mdf@kernel.org> * tag 'fpga-dfl-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/mdf/linux-fpga: Documentation: fpga: dfl: add descriptions for virtualization and new interfaces. fpga: dfl: fme: add global error reporting support fpga: dfl: afu: add STP (SignalTap) support fpga: dfl: afu: add error reporting support. fpga: dfl: afu: expose __afu_port_enable/disable function. fpga: dfl: afu: add userclock sysfs interfaces. fpga: dfl: afu: convert platform_driver to use dev_groups fpga: dfl: fme: convert platform_driver to use dev_groups fpga: dfl: make init callback optional driver core: add dev_groups to all drivers
Showing the changes to include/linux (1 of 14 files). Show all
Unified · Split
| @@ -262,6 +262,8 @@ enum probe_type { · 261 unmodified lines | ||
| 262 | 262 | * @resume: Called to bring a device from sleep mode. |
| 263 | 263 | * @groups: Default attributes that get created by the driver core |
| 264 | 264 | * automatically. |
| 265 | + * @dev_groups: Additional attributes attached to device instance once the | |
| 266 | + * it is bound to the driver. | |
| 265 | 267 | * @pm: Power management operations of the device which matched |
| 266 | 268 | * this driver. |
| 267 | 269 | * @coredump: Called when sysfs entry is written to. The device driver |
| @@ -296,6 +298,7 @@ struct device_driver { · 28 unmodified lines | ||
| 296 | 298 | int (*suspend) (struct device *dev, pm_message_t state); |
| 297 | 299 | int (*resume) (struct device *dev); |
| 298 | 300 | const struct attribute_group **groups; |
| 301 | + const struct attribute_group **dev_groups; | |
| 299 | 302 | |
| 300 | 303 | const struct dev_pm_ops *pm; |
| 301 | 304 | void (*coredump) (struct device *dev); |