linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* FPGA manager user space interface
@ 2016-07-10 21:28 Florian Fainelli
  2016-07-11 12:20 ` Michal Simek
  2016-07-11 16:59 ` atull
  0 siblings, 2 replies; 6+ messages in thread
From: Florian Fainelli @ 2016-07-10 21:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

I just wrote a FPGA manager driver for the TS-7300 board which features
an Altera Cyclone II on board. While the finished solution is my case
might be something like the MFD driver for the FPGA devices requesting
the bitstream load and registering the different devices it exposes,
during development it is nice to exercise the FPGA manager driver to
load something:

- a quick way is to add a pair of sysfs attributes to define the
bitstream filename and to trigger the load

- offer a more consistent and robust interface through e.g; a character
device that you can write/read/poll to see the loading progress about

- have the driver exposing FPGA peripherals be exposing an user space
interface to trigger a (re)load/(re)/configuration, although that's
really something that belongs in the FPGA manager it seems

I am mostly curious if these were taken into account during the initial
design and it is agreed upon that yes these are some of options and that
userspace loading is just anecdotal we do not need any userspace
interface, or if this is just missing and we want one? Either way, I
don't mind submitting what I came up with for the TS-7300 board.

Thanks!
--
Florian

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-12 22:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-10 21:28 FPGA manager user space interface Florian Fainelli
2016-07-11 12:20 ` Michal Simek
2016-07-11 16:59 ` atull
2016-07-11 17:38   ` Florian Fainelli
2016-07-12 15:15     ` atull
2016-07-12 22:03       ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).