Re: [PATCH 2/3] Input: ads7846 - fix up the pendown GPIO setup on Nokia 770
From: Linus Walleij
Date: Thu Jan 02 2025 - 16:32:25 EST
On Thu, Jan 2, 2025 at 7:20 PM Aaro Koskinen <aaro.koskinen@xxxxxx> wrote:
> The GPIO is set up as an IRQ, so request it as non-exclusive. Otherwise the
> probe fails on Nokia 770 with:
>
> ads7846 spi2.0: failed to request pendown GPIO
> ads7846: probe of spi2.0 failed with error -16
>
> Also the polarity is wrong. Fix it.
>
> Fixes: 767d83361aaa ("Input: ads7846 - Convert to use software nodes")
> Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij