From: Antoni Pokusinski <apokusinski01@gmail.com>
To: jic23@kernel.org, lars@metafoo.de, robh@kernel.org, krzk+dt@kernel.org
Cc: pmeerw@pmeerw.net, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Antoni Pokusinski <apokusinski01@gmail.com>
Subject: [PATCH v2 0/2] iio: temperature: tmp006: support for drdy irq
Date: Sun, 8 Sep 2024 19:21:51 +0200 [thread overview]
Message-ID: <20240908172153.177406-1-apokusinski01@gmail.com> (raw)
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
next reply other threads:[~2024-09-08 17:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-08 17:21 Antoni Pokusinski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240908172153.177406-1-apokusinski01@gmail.com \
--to=apokusinski01@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®