]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: dac: Support ROHM BD79703 DAC
authorMatti Vaittinen <mazziesaccount@gmail.com>
Thu, 19 Dec 2024 11:39:37 +0000 (13:39 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Dec 2024 14:28:14 +0000 (14:28 +0000)
commitaf6aca656a85d250c3f39569266301035f023d23
tree8acf828ca76c3bde789d01fdba0327571dec83b0
parentf6ed0ca1d9c30de7f46a795ed0101a2fda9cef6d
iio: dac: Support ROHM BD79703 DAC

The ROHM BD79703 is a 6 channel digital to analog converter.

Based on the data-sheet examples the hardware would support setting the
DAC word without changing the actual output. The data-sheet is not too
specific on how the enabling the output of new voltage set by DAC
should be done - hence this is not implemented by the driver.

The BD79703 would also support two specific "PULL_DOWN" modes. These
aren't currently supported by the driver either.

Add a very basic support for controlling the channel outputs one-by-one.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/bc77d7b979ca28408a216f597082fcd94ec63be7.1734608215.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/rohm-bd79703.c [new file with mode: 0644]