linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alison Schofield <amsfield22@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC
Date: Fri, 2 Sep 2016 12:15:15 -0700	[thread overview]
Message-ID: <20160902191513.GA13014@d830.WORKGROUP> (raw)
In-Reply-To: <9e95a885-8078-fc00-6104-ead4684d9d4b@kernel.org>

On Mon, Aug 29, 2016 at 05:01:14PM +0100, Jonathan Cameron wrote:
> On 25/08/16 06:48, Alison Schofield wrote:
> > Adds basic support for the LTC2485 ADC - a delta-sigma analog-to-digital
> > converter with an I2C interface that operates in single shot conversion
> > mode.
> > 
> > The driver supports an on board 5V reference and the power-on default
> > configuration which rejects both 50hz & 60hz line frequencies and
> > operates in 1x speed mode.
> > 
> > Signed-off-by: Alison Schofield <amsfield22@gmail.com>
> > Cc: Daniel Baluta <daniel.baluta@gmail.com>
> > ---
> > Changes in v2:
> >   - changed the wait conversion time function to use monotonic rather than
> >     real time and to use milliseconds rather than nanoseconds.  
> >   - made conv time a constant int.
> > 
> > Same notes as in v1:
> > Reviewers: In addition to commenting on what is present, please comment
> > on what is absent and the priority in which you would like to see
> > additional features added to this driver, or needed in this first submittal.
> None of the below are needed for initially submital.
> All 'value' add features at the end of the day. Job one: get reading from
> ADC done :)
> 
> I made a few really small white space changes and applied this to the
> togreg branch of iio.git.  Will be initially pushed out as testing
> in a few minutes time to check the autobuilders can't find anything.
> 
> Thanks,
> 
> Jonathan
> 
> > 
> > Not supported: 
> > 1. External Vref
> > 2. Additional Configuration Modes
> >         Temperature Sensor Mode: report temp data (not voltage).
> > 
> >         Line Frequency Rejection Mode: select to reject 50Hz or 60Hz
> > 	or both. (both is default)
> This is interesting... Will need some new ABI.  It's a filter so we probably
> want to try and fit it in with the existing filter ABI.  
> > 
> >         Speed Mode: Default speed mode (1x) performs two conversions each
> > 	cycle and combines the results.  2x speed mode only does one
> > 	conversion each cycle.
> Really simple case of oversampling.  So this one is easy ;)
> 
> > 3. Power management
> > 4. DT Bindings
> > 5. Triggered buffers
> Device is really slow, so no real rush on this one.  Nice to have for
> the convenience of using standard interfaces in libiio etc, but
> at 7sps reading sysfs will work fine for all usecases!
> 
> > 6. What else?
> Other power supply regulators..
> (allows complete power disabling if there is an appropriate controllable
> regulator on the board).
>
Thanks Jonathan!  
I need more direction on the power supply regulators. 

When you say power supply regulator, is that the same as reference
voltage?

The driver uses onboard vref now.  I see how I can add support for an
external vref.  But, it seems like maybe you are commenting that we can
have both, an external vref with an onboard vref as a fallback?  

Thanks,
alisons

  reply	other threads:[~2016-09-02 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25  5:48 [PATCH v2] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC Alison Schofield
2016-08-29 16:01 ` Jonathan Cameron
2016-09-02 19:15   ` Alison Schofield [this message]
2016-09-03 15:07     ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160902191513.GA13014@d830.WORKGROUP \
    --to=amsfield22@gmail.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).