[PATCH v8 10/18] gpio: pl061: convert register access to regmap
Linus Walleij
linusw at kernel.org
Tue Sep 22 00:23:21 PDT 2026
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?
but it looks good!
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list