Re: [PATCH V2 3/3] gpio: modepin: Add driver support for modepin GPIO controller

From: Linus Walleij
Date: Wed Aug 11 2021 - 10:45:20 EST


On Wed, Aug 11, 2021 at 3:30 PM Michal Simek <michal.simek@xxxxxxxxxx> wrote:

> They are bootmode pins because that pins are designed and used by ROM to
> get information which boot device should be used.
> But after this is it is really behaving as generic purpose I/O pins.
> Xilinx is using them for years for usb phy resets. I have also seen them
> to be used for other reset functionality.

OK if they are used for general purpose tasks then a GPIO driver
is fine, I was worried that it was just a way to read these pins from
userspace.

Go ahead with this patch series!

Yours,
Linus Walleij