Re: [PATCH 0/2] iio: adc: add LTC2387 and ADAQ2387x support

From: Andy Shevchenko

Date: Fri Oct 30 2026 - 10:42:46 EST


On Fri, Oct 30, 2026 at 12:08:08PM +0200, Nicolae-Daniel Deaconescu wrote:
> On Tue, Oct 27, 2026 at 17:56:43 +0200, Andy Shevchenko wrote:
> > Why have you written a brand new driver?
>
> ad7625 is the closest existing driver, and it shares the transport:
> CNV PWM, clk_gate PWM and the AXI ADC backend. The converters differ
> in a few ways though. For instance, the LTC2387 is DDR on one or two
> lanes. ad7625 is one bit per clock on one lane. Also, the ad7625
> clamps the period to 100 ns (10 MSPS). The LTC2387 runs at 15 MSPS.

But these difference doesn't explain why you need a brand new driver.
Is hard to configure this at run-time by choosing the respective driver
data based on the compatible string?

--
With Best Regards,
Andy Shevchenko