]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iio:dac: Add ad5755 driver
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 17 Sep 2012 09:24:00 +0000 (10:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 17 Sep 2012 19:55:54 +0000 (20:55 +0100)
commitc499d029d80534a01e858ce9fd1687f2042f7a86
tree3073c67c56c3e400ed6760851442705dd568ba8a
parentb2b79ffa40d7ae40115631660ff8b6da3cf989b6
iio:dac: Add ad5755 driver

This patch adds support for the AD5755, AD5755-1, AD5757, AD5735, AD5737 16 and
14 bit quad-channel DACs. The AD5757/AD5737 only have current outputs, but
for the AD5755/AD5757 each of the outputs can be configured to either be a
voltage or a current output. We only allow to configure this at device probe
time since usually this needs to match the external circuitry and should not be
changed on the fly.

A few trivial formatting changes on merge.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/ad5755.c [new file with mode: 0644]
include/linux/platform_data/ad5755.h [new file with mode: 0644]