diff options
| author | Stefan-Gabriel Mirea <stefan-gabriel.mirea@nxp.com> | 2017-07-06 10:06:41 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-16 13:40:30 -0700 |
| commit | 7b5a9de376b860fd344c0d773633a71394b518fa (patch) | |
| tree | 930a459b48d2880f0bc59e3667b427efa96288d4 /tools/perf/scripts/python | |
| parent | 567a21de8531490e6e7e2aabf29fb87b1d2ec8ee (diff) | |
iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
commit d466d3c1217406b14b834335b5b4b33c0d45bd09 upstream.
In order to select the alternate voltage reference pair (VALTH/VALTL), the
right value for the REFSEL field in the ADCx_CFG register is "01", leading
to 0x800 as register mask. See section 8.2.6.4 in the reference manual[1].
[1] http://www.nxp.com/docs/en/reference-manual/VFXXXRM.pdf
Fixes: a775427632fd ("iio:adc:imx: add Freescale Vybrid vf610 adc driver")
Signed-off-by: Stefan-Gabriel Mirea <stefan-gabriel.mirea@nxp.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
