]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iio: adc: mcp3422: Add support for MCP3425
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 26 Dec 2015 12:16:14 +0000 (21:16 +0900)
committerJonathan Cameron <jic23@kernel.org>
Sat, 2 Jan 2016 18:32:03 +0000 (18:32 +0000)
commit505abf99c7315f2229b873cca7a0514481a118e6
tree9669dcc843a34899730a34bfdb7b0e68aad1b6b3
parent02c34ccc1d2d528d2de2897881b97933363432b5
iio: adc: mcp3422: Add support for MCP3425

The MCP3425 is a single channel up to 16-bit A/D converter which has
features:

- On-Board Programmable Gain Amplifier (PGA):
 - Gains of 1, 2, 4 or 8
- Programmable Data Rate Options:
 - 15 SPS (16 bits), 60 SPS (14 bits), 240 SPS (12 bits)

The mcp3422 driver also supports the MCP3421 which is a single channel.
So we can support MCP3425 with a little changes to mcp3422 driver.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/mcp3422.txt
drivers/iio/adc/Kconfig
drivers/iio/adc/mcp3422.c