diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2015-12-26 21:17:22 +0900 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-03 17:42:59 +0000 |
commit | 35f739679a18d7a9680960c9cfc472ef012682dd (patch) | |
tree | 00d9976ea2b8559ad04c5bb825fa28b0d4659386 /drivers/iio/dac/Kconfig | |
parent | 505abf99c7315f2229b873cca7a0514481a118e6 (diff) | |
download | op-kernel-dev-35f739679a18d7a9680960c9cfc472ef012682dd.zip op-kernel-dev-35f739679a18d7a9680960c9cfc472ef012682dd.tar.gz |
iio: dac: mcp4725: Add basic support for MCP4726
MCP4726 is a single channel 12-bit DAC. We can support MCP4726 with
a little changes to mcp4725 driver. In power-down mode, they have
different selection of VOUT pull-down registers.
MCP4726 also has features:
- Output gain options: 1x, 2x
- Voltage reference selection: VDD, VREF (Unbuffered or Buffered)
But these are not supported in this change. (1x gain, VDD is selected)
datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22272C.pdf
Signed-off-by: Akinobu Mita <akinobu.mita@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 'drivers/iio/dac/Kconfig')
-rw-r--r-- | drivers/iio/dac/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index e701e28..5263c51 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -176,11 +176,11 @@ config MAX5821 10 bits DAC. config MCP4725 - tristate "MCP4725 DAC driver" + tristate "MCP4725/6 DAC driver" depends on I2C ---help--- Say Y here if you want to build a driver for the Microchip - MCP 4725 12-bit digital-to-analog converter (DAC) with I2C + MCP 4725/6 12-bit digital-to-analog converter (DAC) with I2C interface. To compile this driver as a module, choose M here: the module |