fpga: dfl: create a dfl bus type to support DFL devices
authorXu Yilun <yilun.xu@intel.com>
Mon, 7 Sep 2020 14:23:13 +0000 (22:23 +0800)
committerMoritz Fischer <mdf@kernel.org>
Thu, 10 Sep 2020 03:28:16 +0000 (20:28 -0700)
commit9ba3a0aa09fe505540a3bdd11f0da3b8e9d73055
tree4e04d5a91d2aaa9e0c9b06178d68dc4a31e8739d
parentc71e805083af55e0c8eae33bb0653d0105556625
fpga: dfl: create a dfl bus type to support DFL devices

A new bus type "dfl" is introduced for private features which are not
initialized by DFL feature drivers (dfl-fme & dfl-afu drivers). So these
private features could be handled by separate driver modules.

DFL feature drivers (dfl-fme, dfl-port) will create DFL devices on
enumeration. DFL drivers could be registered on this bus to match these
DFL devices. They are matched by dfl type & feature_id.

[mdf@kernel.org: Add missing Documentation part to MAINTAINERS file]

Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Signed-off-by: Russ Weight <russell.h.weight@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Acked-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Documentation/ABI/testing/sysfs-bus-dfl [new file with mode: 0644]
MAINTAINERS
drivers/fpga/dfl.c
drivers/fpga/dfl.h