[PATCH v2 0/6] Enhance definition of DFH and use enhancements for uart driver

From: matthew . gerlach
Date: Fri Sep 23 2022 - 08:22:59 EST


From: Matthew Gerlach <matthew.gerlach@xxxxxxxxx>

This patchset enhances the definition of the Device Feature Header (DFH) used by
the Device Feature List (DFL) bus and then uses the new enhancements in a uart
driver.

Patch 1 updates the DFL documentation to provide the motivation behind the
enhancements to the definition of the DFH.

Patch 2 moves some of the DFH definitions to include/linux/dfl.h so that
they can be accessed by drivers outside of drivers/fpga.

Patch 3 adds the definitions for DFHv1.

Patch 4 defines and uses a DFHv1 parameter to provide a generic mechanism for
describing MSIX interrupts used by a particular feature instance.

Patch 5 gets the location and size of the feature's register set from DFHv1.

Patch 6 adds a DFL uart driver that makes use of the new features of DFHv1.

Basheer Ahmed Muddebihal (2):
fpga: dfl: Move the DFH definitions
fpga: dfl: Add DFHv1 Register Definitions

Matthew Gerlach (4):
Documentation: fpga: dfl: Add documentation for DFHv1
fpga: dfl: add generic support for MSIX interrupts
fpga: dfl: parse the location of the feature's registers from DFHv1
tty: serial: 8250: add DFL bus driver for Altera 16550.

Documentation/fpga/dfl.rst | 49 ++++++++
drivers/fpga/dfl-afu-main.c | 4 +-
drivers/fpga/dfl.c | 88 ++++++++++++--
drivers/fpga/dfl.h | 24 +---
drivers/tty/serial/8250/8250_dfl.c | 177 +++++++++++++++++++++++++++++
drivers/tty/serial/8250/Kconfig | 9 ++
drivers/tty/serial/8250/Makefile | 1 +
include/linux/dfl.h | 79 ++++++++++++-
8 files changed, 402 insertions(+), 29 deletions(-)
create mode 100644 drivers/tty/serial/8250/8250_dfl.c

--
2.25.1