[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150112162608.GN4160@sirena.org.uk>
Date: Mon, 12 Jan 2015 16:26:09 +0000
From: Mark Brown <broonie@...nel.org>
To: Rob Herring <robherring2@...il.com>
Cc: atull <atull@...nsource.altera.com>, Pavel Machek <pavel@...x.de>,
Pantelis Antoniou <pantelis.antoniou@...sulko.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
"H. Peter Anvin" <hpa@...or.com>, Michal Simek <monstr@...str.eu>,
Michal Simek <michal.simek@...inx.com>,
Randy Dunlap <rdunlap@...radead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
Grant Likely <grant.likely@...aro.org>, iws@...o.caltech.edu,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Philip Balister <philip@...ister.org>,
Alessandro Rubini <rubini@...dd.com>,
Steffen Trumtrar <s.trumtrar@...gutronix.de>,
Jason Cooper <jason@...edaemon.net>,
Kyle Teske <kyle.teske@...com>,
Nicolas Pitre <nico@...aro.org>, Felipe Balbi <balbi@...com>,
Mauro Carvalho Chehab <m.chehab@...sung.com>,
David Brown <davidb@...eaurora.org>,
Rob Landley <rob@...dley.net>,
David Miller <davem@...emloft.net>,
Cesar Eduardo Barros <cesarb@...arb.net>,
Samuel Ortiz <sameo@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Walleij <linus.walleij@...aro.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, devel@...verdev.osuosl.org,
Alan Tull <delicious.quinoa@...il.com>,
Dinh Nguyen <dinguyen@...nsource.altera.com>,
"yvanderv@...nsource.altera.com" <yvanderv@...nsource.altera.com>
Subject: Re: [PATCH v8 2/4] fpga manager: add sysfs interface document
On Mon, Jan 12, 2015 at 10:05:49AM -0600, Rob Herring wrote:
> On Sun, Jan 11, 2015 at 10:29 AM, atull <atull@...nsource.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.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists