Re: [PATCH v3 11/14] gpio: regmap: Use regmap_test_bits() for single bit reads

From: Linus Walleij

Date: Fri Aug 14 2026 - 03:06:17 EST


On Thu, Aug 13, 2026 at 3:58 PM Janani Sunil <janani.sunil@xxxxxxxxxx> wrote:

> Use regmap_test_bits() when reading a single GPIO value from a normal
> register and when reading the direction bit.
>
> Signed-off-by: Janani Sunil <janani.sunil@xxxxxxxxxx>

Looks good:
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Do you even strictly depend on this?

To me it looks like a patch Bartosz could just merge orthogonally
to the GPIO tree.

Yours,
Linus Walleij