]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dt-bindings: iio: adc: adi,ad7606: add SPI offload properties
authorAngelo Dureghello <adureghello@baylibre.com>
Thu, 3 Apr 2025 16:19:04 +0000 (18:19 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 22 Apr 2025 18:10:01 +0000 (19:10 +0100)
commit81fe5529e812d7176ff1e48783978504239a990e
treef5afd443d6383de217e19e6d7e1bb6a70dd04e49
parent81a481f6256414b4e1ee2b014fc5f8e5e9d1678b
dt-bindings: iio: adc: adi,ad7606: add SPI offload properties

Add #trigger-source-cells property to allow the BUSY output to be
used as a SPI offload trigger source to indicate when a sample is ready
to be read.

Macros are added to adi,ad7606.h for the cell values to help with
readability since they are arbitrary values.

Signed-off-by: Angelo Dureghello <adureghello@baylibre.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250403-wip-bl-spi-offload-ad7606-v1-1-1b00cb638b12@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/devicetree/bindings/iio/adc/adi,ad7606.yaml
include/dt-bindings/iio/adc/adi,ad7606.h [new file with mode: 0644]