+8
−0
+2
−0
+10
−0
+1
−0
drivers/iio/dac/dpot-dac.c
0 → 100644
+266
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>