iio: dac: add support for max5522
authorAngelo Dureghello <angelo.dureghello@timesys.com>
Sun, 6 Nov 2022 16:59:28 +0000 (17:59 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Jan 2023 17:58:59 +0000 (17:58 +0000)
commitba56b46d1c6d412ae8c079e67c01a1f7bbd5c079
tree49c315d3af070990d35b0c672932df2680ead7cc
parentf2edf0c819a4823cd6c288801ce737e8d4fcde06
iio: dac: add support for max5522

Add initial support for DAC max5522.

Tested writing DAC A and B with some values,
from 0 to 1023, measured output voltages, driver works properly.

Additions for max5523/24/25 will follow.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Link: https://lore.kernel.org/r/20221106165928.223318-1-angelo.dureghello@timesys.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/max5522.c [new file with mode: 0644]