]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: dac: ad5686: add support for AD5338R
authorMichael Auchter <michael.auchter@ni.com>
Thu, 24 Sep 2020 19:52:12 +0000 (14:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 10 Oct 2020 15:41:09 +0000 (16:41 +0100)
commit7dc8faeab3e3b985bd61131ff9fb9067e91182e3
treef8632d37ac4767cca404d186af551c717cf2dfde
parent41f0666f0f60997dea10e716df728f330525052e
iio: dac: ad5686: add support for AD5338R

The AD5338R is a 10-bit DAC with 2 outputs and an internal 2.5V
reference (enabled by default). The register configuration is nearly
identical to the AD5696R DAC that's already supported by this driver,
with the channel selection bits being the only thing different.

Signed-off-by: Michael Auchter <michael.auchter@ni.com>
Link: https://lore.kernel.org/r/20200924195215.49443-1-michael.auchter@ni.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/Kconfig
drivers/iio/dac/ad5686.c
drivers/iio/dac/ad5686.h
drivers/iio/dac/ad5696-i2c.c