]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7606: add support for writing registers when using backend
authorGuillaume Stols <gstols@baylibre.com>
Mon, 10 Feb 2025 16:10:59 +0000 (17:10 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 11 Feb 2025 19:56:25 +0000 (19:56 +0000)
commitac856912f210bcff6a1cf8cf9cb2f6a1dfe85798
tree5c8e63a99dd8ca7f352b12e42207803f4c7c2bd2
parent5efb0a3cc6c8643a7f76409d92ea11b42f576234
iio: adc: ad7606: add support for writing registers when using backend

Add the logic for effectively enabling the software mode for the
iio-backend, i.e. enabling the software mode channel configuration and
implementing the register writing functions.

Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Co-developed-by: Angelo Dureghello <adureghello@baylibre.com>
Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Link: https://patch.msgid.link/20250210-wip-bl-ad7606_add_backend_sw_mode-v4-9-160df18b1da7@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.h
drivers/iio/adc/ad7606_par.c