Re: [PATCH] pinctrl: meson: amlogic-a4: mark the GPIO controller as sleeping

From: Bartosz Golaszewski
Date: Fri Jan 09 2026 - 04:41:44 EST


On Fri, Jan 9, 2026 at 10:35 AM Linus Walleij <linusw@xxxxxxxxxx> wrote:
>
> On Tue, Jan 6, 2026 at 9:53 AM Bartosz Golaszewski
> <bartosz.golaszewski@xxxxxxxxxxxxxxxx> wrote:
>
> > The GPIO controller is configured as non-sleeping but it uses generic
> > pinctrl helpers which use a mutex for synchronization. This will cause
> > lockdep splats when used together with shared GPIOs going through the
> > GPIO shared proxy driver.
>
> BTW it is a very *welcome* side-effect of the new shared GPIO rework
> that it just happens to find these old bugs, I'm very pleased with this :)
>

Actually, I was surprised I was getting so many bug reports and then
it turned out, there was a bug that caused a lot of false-positives to
turn up when scanning the devicetree for shared pins. I just queued a
fix for that so it should slow down now.

Bart