On Thu, Jul 2, 2020 at 4:57 PM Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote: > > Andy: your input would be appreciated, this kind of code > > customizing random embedded Intel systems is deep water for > > me, so this is just a rough guess on how it should be done. > > Linus, I have set up the device (it's actually available as Minnowboard v1) and > will look at this. OK whenever you have time, there is no hurry. > For time being there is a patch you need to fold into this (sorry, it's mangled): > > (Explanation: GPIO will be locked with request_irq() call) I do not understand this, sadly. gpiod_lock_as_irq() will be called indeed, but we are requesting it as input and keeping it as such so this should be fine? Yours, Linus Walleij