]> git.baikalelectronics.ru Git - kernel.git/commit
fpga: dfl: afu: add userclock sysfs interfaces.
authorWu Hao <hao.wu@intel.com>
Mon, 12 Aug 2019 02:49:59 +0000 (10:49 +0800)
committerMoritz Fischer <mdf@kernel.org>
Wed, 4 Sep 2019 02:35:41 +0000 (19:35 -0700)
commitdefa38311124a4156801349bf3cbcf919f71ca39
tree98e9f076a9500aba434187ea513a6949baab2831
parentbab9b69abb5f9a117a0ff7f42c074ecfea69825f
fpga: dfl: afu: add userclock sysfs interfaces.

This patch introduces userclock sysfs interfaces for AFU, user
could use these interfaces for clock setting to AFU.

Please note that, this is only working for port header feature
with revision 0, for later revisions, userclock setting is moved
to a separated private feature, so one revision sysfs interface
is exposed to userspace application for this purpose too.

Signed-off-by: Ananda Ravuri <ananda.ravuri@intel.com>
Signed-off-by: Russ Weight <russell.h.weight@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>
Documentation/ABI/testing/sysfs-platform-dfl-port
drivers/fpga/dfl-afu-main.c
drivers/fpga/dfl.h