mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq
@ 2024-09-08 17:21 Antoni Pokusinski
  2024-09-08 17:21 ` [PATCH v2 1/2] iio: temperature: tmp006: add triggered buffer support Antoni Pokusinski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Antoni Pokusinski @ 2024-09-08 17:21 UTC (permalink / raw)
  To: jic23, lars, robh, krzk+dt
  Cc: pmeerw, linux-iio, devicetree, linux-kernel, Antoni Pokusinski

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-14 11:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-08 17:21 [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq Antoni Pokusinski
2024-09-08 17:21 ` [PATCH v2 1/2] iio: temperature: tmp006: add triggered buffer support Antoni Pokusinski
2024-09-08 17:21 ` [PATCH v2 2/2] dt-bindings: iio: temperature: tmp006: document interrupt Antoni Pokusinski
2024-09-09  6:28   ` Krzysztof Kozlowski
2024-09-14 11:49 ` [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®