patch "iio: adc: xilinx: Fix VREFN scale" added to staging-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
iio: adc: xilinx: Fix VREFN scale
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
a57f8dac46fbac5ab0e31aef1a98b3f6eb30c079Mon Sep 17 00:00:00 2001
From: Thomas Betker <[email protected]>
Date: Wed, 11 Nov 2015 21:24:38 +0100
Subject: iio: adc: xilinx: Fix VREFN scale
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.
--- drivers/iio/adc/xilinx-xadc-core.c | 1 + 1 file changed, 1 insertion(+)
drivers/iio/adc/xilinx-xadc-core.c +1 -0
@@ -857,6 +857,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 :
Signature · 1 line
2.6.2