Re: [v2 2/2] fpga: Add support for Lattice iCE40 FPGAs

From: Moritz Fischer
Date: Tue Oct 25 2016 - 12:34:33 EST


On Mon, Oct 24, 2016 at 11:05:28PM -0600, Joel Holdsworth wrote:

> Only being able to load firmware from kernel C-code is rather a limitation -
> though I suppose the framework is quite early in development.

I agree this is a limitation. To expand a bit on what Alan said. For the
last year(?) or so we've been reviewing / reiterating patches to do that
using device tree overlays.

Rob was ok with the last round of bindings so it looks like it is moving
in the right direction.

The part that's missing in the whole spiel is a way to apply overlays
from userland (which in turn then trigger the reconfiguration of the
regions).

Pantelis has a patchset that allows doing this using a configfs
interface; however the devicetree maintainers weren't too happy with it.

At ELCE Pantelis and me talked to Frank about the patchset and Pantelis
agreed to resubmit the patchset with small changes.

TL;DR we'll eventually get there but it takes time and many rounds of review :)

Cheers,

Moritz