From: Oskar Andero <oskar.andero@gmail.com>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
Jonathan Cameron <jic23@cam.ac.uk>
Subject: Re: [PATCH] iio: adc: add driver for MCP3204/08 12-bit ADC
Date: Wed, 1 May 2013 23:02:02 +0200 [thread overview]
Message-ID: <20130501210202.GB21719@skinner.xfiles.lan> (raw)
In-Reply-To: <51812195.3030305@metafoo.de>
Hi,
On 16:07 Wed 01 May , Lars-Peter Clausen wrote:
> On 05/01/2013 12:21 AM, Oskar Andero wrote:
> > This adds support for Microchip's 12 bit AD converters MCP3204 and
> > MCP3208. These chips communicates over SPI and supports single-ended
> > and pseudo-differential configurations.
> >
> > Cc: Jonathan Cameron <jic23@cam.ac.uk>
> > Cc: Lars-Peter Clausen <lars@metafoo.de>
> > Signed-off-by: Oskar Andero <oskar.andero@gmail.com>
>
> Hi,
>
> Looks very good in general. A few minor things, mostly related to the regulator
> handling and a couple of nitpicks inline.
Thanks for reviewing! I will prepare version 2 shortly.
> > +
> > + ret = regulator_enable(adc->reg);
> > + if (ret < 0)
> > + goto reg_free;
> > + } else {
> > + adc->ref_mv = pdata->ref_mv;
>
> I'd like to see this fallback path go away. For supplies with a const voltage
> the fixed-voltage-regulator can be used.
>
Ok. I added this since the voltage I use for reference is behind a level-shifter,
meaning there is actually no regulator on the board providing that exact
voltage level. Not sure what you mean with "the fixed-voltage-regulator", but
maybe that is what I am looking for in my case?
Thanks!
-Oskar
prev parent reply other threads:[~2013-05-01 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-30 22:21 Oskar Andero
2013-05-01 14:07 ` Lars-Peter Clausen
2013-05-01 21:02 ` Oskar Andero [this message]
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=20130501210202.GB21719@skinner.xfiles.lan \
--to=oskar.andero@gmail.com \
--cc=jic23@cam.ac.uk \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®