]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit170a13c9a26413934cc6eaa4081e0e56e8271966
tree4e04d5a91d2aaa9e0c9b06178d68dc4a31e8739d
parent77c8b5dde19e85e3d535ef09623ba3c36141f606
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