Re: RFC: driver for TI ADS124x ADC series

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/31/2013 12:46 AM, Otavio Salvador wrote:
On Fri, Jul 26, 2013 at 6:10 PM, Mario Domenech Goulart
<mario@xxxxxxxxxxxxxxxx> wrote:
Hi,

We are working on a driver for TI ADS124x ADC series (ADS1246,
ADS1247 and ADS1248.  Datasheet: http://www.ti.com/litv/pdf/sbas426g)

The attached patch is what we have so far.  It is by no means
finished.  We are actually submitting it in the hope you can
review it and provide feedback.

Some observations and questions in advance:

* we've set the chip to only convert on-demand.  I.e., it is not
   constantly converting.  Conversions are only performed when
   requested via sysfs.  We are not sure about the best approach
   with regard to that behavior.  Should it be constantly
   converting?

* we've set the device as IIO_TEMP, although what is currently
   exposed in sysfs is voltage. The chip is targeted to
   temperature sensors, but the actual output of the ADC is
   voltage, so we don't know exactly what to use as type.

* we are aware of some ugly hacks like wait_for_drdy. :-) What's
   the best approach to wait for the data ready signal?

* in fact we've been mostly working with ADS1247 and haven't
   concentrated on supporting ADS1246 and ADS1248 for now, but we
   intend to do so.

Could someone give us some feedback on this?

We are really looking for some initial review on this patch so we can
clean it up and do the need changes to send it for official review
later.


Can you send the patch inline instead of as an attachment?

- Lars

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux