Re: [PATCH v4 9/9] iio: adc: ad4062: Add GPIO Controller support

From: Bartosz Golaszewski
Date: Wed Dec 17 2025 - 10:47:41 EST


On Wed, Dec 17, 2025 at 1:14 PM Jorge Marques <jorge.marques@xxxxxxxxxx> wrote:
>
> When gp0 or gp1 is not taken as an interrupt, expose them as GPO if
> gpio-contoller is set in the devicetree. gpio-regmap is not used
> because the GPO static low is 'b101 and static high is 0b110; low state
> requires setting bit 0, not fitting the abstraction of low=0 and
> high=mask.
>
> Signed-off-by: Jorge Marques <jorge.marques@xxxxxxxxxx>
> Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
> ---

Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>