Re: [PATCH V2 3/3] gpio: modepin: Add driver support for modepin GPIO controller
From: Linus Walleij <hidden>
Date: 2021-08-11 14:45:20
Also in:
linux-arm-kernel, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2021-08-11 14:45:20
Also in:
linux-arm-kernel, linux-gpio, lkml
On Wed, Aug 11, 2021 at 3:30 PM Michal Simek [off-list ref] 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