summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/Kconfig
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-11-08 12:58:56 +0100
committerJonathan Cameron <jic23@kernel.org>2016-11-13 14:07:15 +0100
commit7fde1484af21f9668e9575bd8a119ebc4fe6fe42 (patch)
tree99e62de525a9976f355f5916bdcad5c6a0bfba64 /drivers/iio/dac/Kconfig
parentdt-bindings: iio: document dpot-dac bindings (diff)
downloadlinux-7fde1484af21f9668e9575bd8a119ebc4fe6fe42.tar.xz
linux-7fde1484af21f9668e9575bd8a119ebc4fe6fe42.zip
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