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

Bartosz Golaszewski brgl at kernel.org
Fri Jan 9 01:36:52 PST 2026


On Fri, Jan 9, 2026 at 10:35 AM Linus Walleij <linusw at kernel.org> wrote:
>
> On Tue, Jan 6, 2026 at 9:53 AM Bartosz Golaszewski
> <bartosz.golaszewski at oss.qualcomm.com> 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



More information about the linux-amlogic mailing list