Re: [PATCH v2 5/7] iio: adc: ti-ads1262: Add conversion delay support

From: Jonathan Cameron

Date: Tue Jun 30 2026 - 20:21:31 EST


On Tue, 30 Jun 2026 13:44:49 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> On 6/30/26 12:23 PM, Kurt Borja wrote:
> > On Mon Jun 29, 2026 at 7:50 PM -05, Jonathan Cameron wrote:
> >> On Sun, 28 Jun 2026 00:36:06 -0500
> >> Kurt Borja <kuurtb@xxxxxxxxx> wrote:
> >>
> >>> Expose the programmable conversion start delay as a per-channel
> >>> IIO_CHAN_INFO_CONVDELAY attribute.
> >> Coversion delay was always a somewhere weird bit of ABI.
> >> What are the delays relative to in this case?
> >> Is this a device that does simultaneous sampling? Pictures
> >> suggest otherwise, and convdelay is currently only defined
> >> in that case. We might be able to extend it but it needs
> >> some thought.
> >
> > The chip has a configurable internal conversion delay to allow for
> > external settling effects. See datasheet section 9.4.3 if you'd like a
> > bit more details.
>
> Since this depends on external components, it sounds like it belongs
> in the devicetree. I have the same feature in the chip I am working
> on and was just looking at this and plan to add it to the ti,ads112c14
> devicetree patch.
>
> This delay only applies to a "new conversion", i.e. when certain config
> registers change, and not every conversion, so isn't like the convdelay
> attribute.

See settling-time-us in adc.yaml. I'd forgotten we had that ;)

>
> >
> > But you're right, I should at least also edit the ABI description of
> > this attribute. We can postpone this discussion for a future series.
> >
> >>
> >> Jonathan
> >
>