OSDN Git Service

iio: dpot-dac: DAC driver based on a digital potentiometer
authorPeter Rosin <peda@axentia.se>
Tue, 8 Nov 2016 11:58:56 +0000 (12:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:15 +0000 (13:07 +0000)
commit7fde1484af21f9668e9575bd8a119ebc4fe6fe42
tree99e62de525a9976f355f5916bdcad5c6a0bfba64
parented13134ba8c021d484d712a54c285da312567b39
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>
Documentation/ABI/testing/sysfs-bus-iio-dac-dpot-dac [new file with mode: 0644]
MAINTAINERS
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/dpot-dac.c [new file with mode: 0644]