fpga: dfl: fme: add capability sysfs interfaces
authorWu Hao <hao.wu@intel.com>
Sun, 4 Aug 2019 10:20:20 +0000 (18:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Aug 2019 16:03:20 +0000 (18:03 +0200)
commit52eb6d31a1c2e85a3eaf08ab599c9ad58c890c28
treeabd8ffe50dd540c48f563bed5e734ed5c30797b2
parent3c51ff772278d291117dae9cad09ddef07e0d504
fpga: dfl: fme: add capability sysfs interfaces

This patch adds 3 read-only sysfs interfaces for FPGA Management Engine
(FME) block for capabilities including cache_size, fabric_version and
socket_id.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Signed-off-by: Wu Hao <hao.wu@intel.com>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Link: https://lore.kernel.org/r/1564914022-3710-11-git-send-email-hao.wu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-platform-dfl-fme
drivers/fpga/dfl-fme-main.c