On Tue, Sep 21, 2021 at 6:24 PM Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> wrote: > PM8xxx PMIC family uses GPIO as parent IRQ. Using it together with the > irq_set_chained_handler_and_data() results in warnings from the GPIOLIB > as in this path the IRQ resources are not allocated (and thus the > corresponding GPIO is not marked as used for the IRQ. Use request_irq so > that the IRQ resources are proprely setup. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> I sent this patch: https://lore.kernel.org/lkml/20210819154400.51932-1-linus.walleij@xxxxxxxxxx/ David Heidelberg reported that it didn't work for him. David can you test Dmitry's patch instead and see if that works for you, I suppose I could have some bug in my patch :/ It would be nice with a Tested-by from David. FWIW the code looks good: Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij