Re: [PATCH v5 17/20] gpio: regmap: Use regmap_test_bits() for single bit reads

From: Janani Sunil

Date: Thu Sep 03 2026 - 08:18:13 EST



On 9/2/26 15:48, Bartosz Golaszewski wrote:
On Fri, 28 Aug 2026 17:30:40 +0200, Janani Sunil <janani.sunil@xxxxxxxxxx> said:
Use regmap_test_bits() when reading a single GPIO value from a normal
register and when reading the direction bit.

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Reviewed-by: Michael Walle <mwalle@xxxxxxxxxx>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Signed-off-by: Janani Sunil <janani.sunil@xxxxxxxxxx>
---
Janani: the GPIO patches don't apply on top of current gpio/for-next. Can you
rebase and resend just the GPIO bits separately?

Thanks,
Bartosz

Hi Bartosz,

Done. I split out the three GPIO patches, rebased them onto the current gpio/for-next branch and resent them separately as v6.

https://lore.kernel.org/r/20260903-ad7768-gpio-v6-0-4254ef6c9b38@xxxxxxxxxx

I will drop these patches from the next version of the main AD7768 IIO series.

Best Regards,
Jan