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

From: Linus Walleij

Date: Wed Dec 10 2025 - 18:50:52 EST


On Fri, Dec 5, 2025 at 4:19 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>

Yours,
Linus Walleij