diff options
| author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-01-08 00:40:30 +0900 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-16 13:04:05 +0000 |
| commit | 4ea71e5cee8ad52407ee95c3548d0887eedae301 (patch) | |
| tree | 4e5bb7df6d56631f15c27b53a992bfac6236b897 /include/linux/debugobjects.h | |
| parent | b9cd7a254d17dac8098517afdebdac482e59aec4 (diff) | |
| download | cachepc-linux-4ea71e5cee8ad52407ee95c3548d0887eedae301.tar.gz cachepc-linux-4ea71e5cee8ad52407ee95c3548d0887eedae301.zip | |
iio: adc: mcp320x: support more differential voltage measurement
mcp320x driver supports the pseudo-differential mode by
in_voltage'IN+'-voltage'IN-'_raw where (IN+, IN-) = (0, 1), (2, 3), ...
mcp320x chips except MCP3X01 can also select swapped IN+ and IN-
pairs in the pseudo-differential mode.
i.e. in_voltage'IN+'-voltage'IN-'_raw where (IN+, IN-) = (1, 0),
(3, 2), ...
If the voltage level of IN+ is equal to or less than IN-, the
resultant code will be 000h. So it is useful to provide these, too.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Oskar Andero <oskar.andero@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
