Re: iio: adc: anyone working on TI ADS7066?

Jonathan Cameron
2021-03-29T15:43:48Z

On Fri, 19 Mar 2021 20:52:34 -0700
Drew Fustini <drew@beagleboard.org> wrote:

> I have a board with a TI ADS7066 8-channel ADC [1] that I want to get
> working in Linux. I see there is already driver support in iio for
> ADS1015, ADS79xx, ADS8344, ADS868x and ADS124S0x.
>
> Is anyone already working with the ADS7066 or a similar part in that
> series?
>
> If not, I'll take one of the existing TI drivers as a template for the
> ADS7066 driver.
>
> Thank you,
> Drew

Hi Drew,

I've not seen anything for this part.

From a 10 second glance at the data sheet I see it's capable of
ADC / GPIO on each pin. If you plan to support that functionality
at somepoint make sure to define dt bindings and similar to specify
which channels are enabled and dynamically create the iio_chan_spec
array to match. It can be a bit ugly to retrofit later.

Oh. It does daisy chaining as well. That is always fun to support
though I guess you may well not have it wired up to do that.
Oversampling as well - though that looks nice and simple for once.

Jonathan

>
> [1] https://www.ti.com/product/ADS7066
>
>