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

Linus Walleij linus.walleij at linaro.org
Wed Aug 11 07:45:04 PDT 2021


On Wed, Aug 11, 2021 at 3:30 PM Michal Simek <michal.simek at xilinx.com> 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



More information about the linux-arm-kernel mailing list