[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240908172153.177406-1-apokusinski01@gmail.com>
Date: Sun, 8 Sep 2024 19:21:51 +0200
From: Antoni Pokusinski <apokusinski01@...il.com>
To: jic23@...nel.org,
lars@...afoo.de,
robh@...nel.org,
krzk+dt@...nel.org
Cc: pmeerw@...erw.net,
linux-iio@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Antoni Pokusinski <apokusinski01@...il.com>
Subject: [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq
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.
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(-)
--
2.25.1
Powered by blists - more mailing lists