Re: [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq

From: Jonathan Cameron
Date: Sat Sep 14 2024 - 07:49:43 EST


On Sun, 8 Sep 2024 19:21:51 +0200
Antoni Pokusinski <apokusinski01@xxxxxxxxx> wrote:

> This patch series adds support for the data ready interrupt of tmp006
> sensor. The interrupt line is pulled down once there is a measurement
> available to be read. Hence, triggered buffers are used in order to
> support continuous data capture for the sensor.
>
Applied to the testing branch of iio.git.
I'll rebase that on rc1 once available and push this out as togreg
at which point linux-next will pick it up etc.

Thanks,

Jonathan

> Changes since v1:
> * dt-binding: improve the commit message
> * tmp006_read_raw: use iio_device_claim_direct_scoped()
> * tmp006_channels[] : add trailing commas
> * tmp006_trigger_handler: use s32 to check return value of read_word_data()
> * tmp006_set_trigger_state: fix data alignment
> * tmp006_probe: check return value of devm_iio_triggered_buffer_setup()
> * tmp006_probe: remove IRQF_TRIGGER_FALLING from irqflags argument of
> devm_request_threaded_irq()
> * tmp006_probe: set avaliable_scan_masks to tmp006_scan_masks[]
>
> Antoni Pokusinski (2):
> iio: temperature: tmp006: add triggered buffer support
> dt-bindings: iio: temperature: tmp006: document interrupt
>
> .../bindings/iio/temperature/ti,tmp006.yaml | 6 +
> drivers/iio/temperature/Kconfig | 2 +
> drivers/iio/temperature/tmp006.c | 134 ++++++++++++++++--
> 3 files changed, 129 insertions(+), 13 deletions(-)
>