From: Gwendal Grignou <gwendal@chromium.org>
To: gabriele.mzt@gmail.com, jic23@kernel.org, lars@metafoo.de,
andy.shevchenko@gmail.com
Cc: linux-iio@vger.kernel.org, Gwendal Grignou <gwendal@chromium.org>
Subject: [PATCH v2 0/2] iio: acpi_als: Add sotfware trigger support
Date: Thu, 10 Dec 2020 12:49:41 -0800 [thread overview]
Message-ID: <20201210204944.968290-1-gwendal@chromium.org> (raw)
Some devices (chromebooks) present the ACPI ALS device but do not have
ability to notify when a new sample is present.
Add support for software trigger (hrtimer/sysfs-trigger) to allow
retrieving samples using iio buffers.
The first path fully adds timestamp channel, the next one adds trigger
support.
This patch assumes the patch "iio: set default trig->dev.parent" is
applied.
Gwendal Grignou (2):
iio: acpi_als: Add timestamp channel
iio: acpi_als: Add trigger support
drivers/iio/light/acpi-als.c | 103 ++++++++++++++++++++++++-----------
1 file changed, 72 insertions(+), 31 deletions(-)
--
2.29.2.576.ga3fc446d84-goog
next reply other threads:[~2020-12-10 20:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 20:49 Gwendal Grignou [this message]
2020-12-10 20:49 ` [PATCH v2 1/2] iio: acpi_als: Add timestamp channel Gwendal Grignou
2020-12-10 20:49 ` [PATCH v2 2/2] iio: acpi_als: Add trigger support Gwendal Grignou
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=20201210204944.968290-1-gwendal@chromium.org \
--to=gwendal@chromium.org \
--cc=andy.shevchenko@gmail.com \
--cc=gabriele.mzt@gmail.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.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;
as well as URLs for NNTP newsgroup(s).