]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: iio: adc: ad7606: Add iio backend bindings
authorGuillaume Stols <gstols@baylibre.com>
Tue, 15 Oct 2024 13:56:15 +0000 (13:56 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 21 Oct 2024 18:19:25 +0000 (19:19 +0100)
commit7c2357b104905533b138e37baae6a7b09098e99b
tree222ef8402699fa2dc21512a111e6ec76157a0e91
parent0874763642e69542a3717b349da2a53878dc748f
dt-bindings: iio: adc: ad7606: Add iio backend bindings

Add the required properties for iio-backend support, as well as an
example and the conditions to mutually exclude interruption and
conversion trigger with iio-backend.
The iio-backend's function is to controls the communication, and thus the
interruption pin won't be available anymore.
As a consequence, the conversion pin must be controlled externally since
we will miss information about when every single conversion cycle (i.e
conversion + data transfer) ends, hence a PWM is introduced to trigger
the conversions.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20241015-ad7606_add_iio_backend_support-v5-2-654faf1ae08c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml