[PATCH v8 2/4] fpga manager: add sysfs interface document

Mark Brown broonie at kernel.org
Mon Jan 12 16:26:09 UTC 2015


On Mon, Jan 12, 2015 at 10:05:49AM -0600, Rob Herring wrote:
> On Sun, Jan 11, 2015 at 10:29 AM, atull <atull at opensource.altera.com> wrote:

> > Previous uses of the firmware layer has been to use it to load once after
> > bootup; this is different since some use cases will want to switch out
> > the FPGA image.  If someone wants there to be only one FPGA image on
> > the FGPA forever, they will probably not be using this framework; their
> > FPGA will probably be loaded before Linux boots up.

> That's not really true. Some WiFi devices have to load different
> firmware for client and AP modes and switching is a common usecase in
> phones.

Right, this is also very common for audio DSPs - the DSPs are frequently
much smaller than the total set of firmware they might want to run so
they need to switch at runtime.

> There may be other instances of drivers wanting configurable firmware
> names already. A common interface here would be nice. It could also be
> useful to expose the firmware names such that you could generate a
> list of all firmware files needed for a machine (that may already be
> possible with uevents?).

Some standard mechanism for enumerating the possible firmwares and
switching between them would definitely make life easier on the audio
side.  It'd also be good for userspace to be able to say it's got new
firmware to add to the list, but that's suggesting to me that the
enumeration part of things might be better handled in userspace.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20150112/7476d067/attachment-0001.asc>


More information about the devel mailing list