[PATCH v8 10/18] gpio: pl061: convert register access to regmap
Wei Xu
xuwei5 at hisilicon.com
Thu Oct 8 02:04:18 PDT 2026
Hi Linus and Andy,
On 2026/9/22 15:23, 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?
Sorry for the late reply!
I did not get the HiKey boards these past days.
But I test the v9 patchset on the qemu sbsa-ref machine to verify the
gpio powerdown and it works after resolved some trivial merge conflicts.
The detail could be found at below link:
https://github.com/hisilicon/kernel-dev/commits/topic-test-pl061/
Best Regards,
Wei
>
> 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