summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/Kconfig
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-11-08 14:58:56 +0300
committerJonathan Cameron <jic23@kernel.org>2016-11-13 16:07:15 +0300
commit7fde1484af21f9668e9575bd8a119ebc4fe6fe42 (patch)
tree99e62de525a9976f355f5916bdcad5c6a0bfba64 /drivers/iio/dac/Kconfig
parented13134ba8c021d484d712a54c285da312567b39 (diff)
downloadlinux-7fde1484af21f9668e9575bd8a119ebc4fe6fe42.tar.xz
iio: dpot-dac: DAC driver based on a digital potentiometer
It is assumed that the dpot is used as a voltage divider between the current dpot wiper setting and the maximum resistance of the dpot. The divided voltage is provided by a vref regulator. .------. .-----------. | | | vref |--' .---. | regulator |--. | | '-----------' | | d | | | p | | | o | wiper | | t |<---------+ | | | | '---' dac output voltage | | '------+------------+ Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dac/Kconfig')
-rw-r--r--drivers/iio/dac/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index 120b24478469..d3084028905b 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -200,6 +200,16 @@ config AD8801
To compile this driver as a module choose M here: the module will be called
ad8801.
+config DPOT_DAC
+ tristate "DAC emulation using a DPOT"
+ depends on OF
+ help
+ Say yes here to build support for DAC emulation using a digital
+ potentiometer.
+
+ To compile this driver as a module, choose M here: the module will be
+ called dpot-dac.
+
config LPC18XX_DAC
tristate "NXP LPC18xx DAC driver"
depends on ARCH_LPC18XX || COMPILE_TEST