[PATCH v8 10/18] gpio: pl061: convert register access to regmap
Chanho Min
chanho.min at lge.com
Fri Oct 2 00:48:33 PDT 2026
On Tue, Sep 22, 2026 at 09:23:21AM +0200, Linus Walleij wrote:
> On Mon, Sep 21, 2026 at 6:23 AM Long Zhao via B4 Relay
> <devnull+longzhao.ambarella.com at kernel.org> wrote:
>
> > From: Long Zhao <longzhao at ambarella.com>
> >
> > Replace readb()/writeb() with a MMIO regmap while keeping the existing
> > gpio_chip and girq irqchip. Use a raw spinlock so irq_ack() can run
> > under the irq descriptor lock.
> >
> > Signed-off-by: Long Zhao <longzhao at ambarella.com>
>
> It would be good if some critical users of the PL061 could
> test this patch.
>
> Wei, can you test this on HiSilicon?
>
> Chanho, can you test on LGE hardware?
Tested the patch on LGE hardware (LG webOSTV) All 18 PL061 GPIO controllers
registered successfully. GPIO direction and input read operations passed for
143 available GPIOs, with no failures or new kernel warnings/errors observed.
Output value/readback was also verified on available GPIOs.
Tested-by: <Chanho Min> chanho.min at lge.com
Thanks,
Chanho Min
>
> but it looks good!
> Reviewed-by: Linus Walleij <linusw at kernel.org>
>
> Yours,
> Linus Walleij
More information about the linux-arm-kernel
mailing list