Re: [PATCH 3/5] iio: adc: ti-ads1262: Add GPIO controller support
From: Kurt Borja
Date: Sat Jun 13 2026 - 02:23:51 EST
On Fri Jun 12, 2026 at 5:46 PM -05, Kurt Borja wrote:
> Add support for the GPIO controller capability found in both TI ADS1262
> and ADS1263 ADCs.
>
> Eight analog input pins can be programmed as GPIO. This configuration
> does not prevent the pins from being used as analog inputs at the same
> time, so no considerations were taken in that regard.
>
> Signed-off-by: Kurt Borja <kuurtb@xxxxxxxxx>
After going through Sashiko's feedback I realized this patch wasn't
properly tested and the gpiochip callbacks were carelessly implemented.
I'll do better for the next version and I apologize in advance for the
time lost.
--
Thanks,
~ Kurt