iio: ad74413r: wire up support for drive-strength-microamp property
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Mon, 6 Mar 2023 09:43:01 +0000 (10:43 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Mar 2023 15:47:57 +0000 (15:47 +0000)
commit504eb485589d146e99a53cd982b52fe1728fc19e
tree383dcc0df4028078d62ff7b5f08855fcf2b41056
parent954ea91fb68b771dba6d87cfa61b68e09cc2497f
iio: ad74413r: wire up support for drive-strength-microamp property

Use the value specified in the channel configuration node to populate
the DIN_SINK field of the DIN_CONFIGx register.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20230306094301.1357543-3-linux@rasmusvillemoes.dk
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/addac/ad74413r.c