staging: iio: dac: ad5446: Enable driver support for AD5620/AD5640/AD5660 DA converters
Subsystems (4)
[email protected]
maintainerPATCH 1/1 staging: iio: dac: ad5446: Enable driver support for AD5620/AD5640/AD5660 DA converters
From: Michael Hennerich <[email protected]>
Initial support for single channel, 12-/14-/16-Bit nanoDAC with On-Chip Reference
staging: iio: dac: ad5446: Fix according to review feedback
Review feedback by Jonathan Cameron:
Use kernel doc style to document headers.
Turn data into a union
Add some comments for clarity
Signed-off-by Michael Hennerich <[email protected]>
Acked-by Jonathan Cameron <[email protected]>
--- drivers/staging/iio/dac/Kconfig | 6 +- drivers/staging/iio/dac/ad5446.c | 120 ++++++++++++++++++++++++++++++++------ drivers/staging/iio/dac/ad5446.h | 72 +++++++++++++++++++--- 3 files changed, 167 insertions(+), 31 deletions(-)
drivers/staging/iio/dac/Kconfig +3 -3
@@ -11,11 +11,11 @@ config AD5624R_SPI AD5664R convertors (DAC). This driver uses the common SPI interface. config AD5446 - tristate "Analog Devices AD5444, AD5446 and AD5541A, AD5512A DAC SPI driver" + tristate "Analog Devices AD5444/6, AD5620/40/60 and AD5541A/12A DAC SPI driver" depends on SPI help - Say yes here to build support for Analog Devices AD5444, AD5446 - and AD5541A, AD5512A DACs. + Say yes here to build support for Analog Devices AD5444, AD5446, + AD5620, AD5640, AD5660 and AD5541A, AD5512A DACs. To compile this driver as a module, choose M here: the module will be called ad5446.
drivers/staging/iio/dac/ad5446.c +102 -18
172 lines not on this page · raw message
drivers/staging/iio/dac/ad5446.h +62 -10
98 lines not on this page · raw message
--
1.6.0.2