Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1269664
| Path | csiph.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Jonathan Cameron <jic23@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] iio: adc: xilinx: Fix VREFN scale |
| Date | Sun, 15 Nov 2015 11:50:01 +0100 |
| Message-ID | <qv32F-d2-5@gated-at.bofh.it> (permalink) |
| References | <qtKbM-7AZ-19@gated-at.bofh.it> |
| X-Original-To | Thomas Betker <thomas.betker@freenet.de>, linux-iio@vger.kernel.org, Hartmut Knaack <knaack.h@gmx.de> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 37 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald <pmeerw@pmeerw.net>, Michal Simek <michal.simek@xilinx.com>, Sören Brinkmann <soren.brinkmann@xilinx.com>, Xander Huff <xander.huff@ni.com>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Betker <thomas.betker@rohde-schwarz.com> |
| X-Original-Date | Sun, 15 Nov 2015 10:42:39 +0000 |
| X-Original-Message-ID | <5648619F.4040208@kernel.org> |
| X-Original-References | <1447273478-2530-1-git-send-email-thomas.betker@freenet.de> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1269664 |
Show key headers only | View raw
On 11/11/15 20:24, Thomas Betker wrote: > From: Thomas Betker <thomas.betker@rohde-schwarz.com> > > The scaling factor for VREFN is 3.0/4096 (not 1.0/4096), just as for > VREFP. This is not immediately obvious from the specification (Xilinx > UG480), but has been confirmed by Xilinx support. > > Suggested-by: Hartmut Knaack <knaack.h@gmx.de> > Signed-off-by: Thomas Betker <thomas.betker@rohde-schwarz.com> Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks, Jonathan > --- > drivers/iio/adc/xilinx-xadc-core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c > index 0370624..02e636a 100644 > --- a/drivers/iio/adc/xilinx-xadc-core.c > +++ b/drivers/iio/adc/xilinx-xadc-core.c > @@ -841,6 +841,7 @@ static int xadc_read_raw(struct iio_dev *indio_dev, > case XADC_REG_VCCINT: > case XADC_REG_VCCAUX: > case XADC_REG_VREFP: > + case XADC_REG_VREFN: > case XADC_REG_VCCBRAM: > case XADC_REG_VCCPINT: > case XADC_REG_VCCPAUX: > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] iio: adc: xilinx: Fix VREFN scale Thomas Betker <thomas.betker@freenet.de> - 2015-11-11 21:30 +0100 Re: [PATCH] iio: adc: xilinx: Fix VREFN scale Jonathan Cameron <jic23@kernel.org> - 2015-11-15 11:50 +0100
csiph-web