[PATCH v2 1/2] gpio: Add driver for Zynq GPIO controller

Linus Walleij linus.walleij at linaro.org
Fri Jul 11 05:06:29 PDT 2014


On Fri, Jul 11, 2014 at 8:28 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> On Tue, Jul 08, 2014 at 11:27:57AM +0200, Linus Walleij wrote:

>> What is the usecase here?
>
> During boot I need to know, for example, when an FPGA is ready to be
> programmed, and when said FPGA has finished its initialization. I also read
> the sate of on-board DIP switches to determine the desired boot method. I find
> the current sysfs interface quite convenient for these and similar tasks.

So given that an FPGA is a piece of hardware, it should have its firmware
loaded from the kernel and a kernel driver communicating with it I guess?

I feel the smell of a huge bundle of userspace drivers for something that
should be handled by the kernel.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list