linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/3] iio: acpi_als: Add sotfware trigger support
@ 2021-03-17  7:40 Gwendal Grignou
  2021-03-17  7:40 ` [PATCH v7 1/3] iio: acpi_als: Add timestamp channel Gwendal Grignou
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gwendal Grignou @ 2021-03-17  7:40 UTC (permalink / raw)
  To: gabriele.mzt, jic23, lars, andy.shevchenko; +Cc: linux-iio, Gwendal Grignou

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 second adds a local
variable in probe routine and the last one adds trigger support.

This patch assumes the patch "iio: set default trig->dev.parent" is
applied.

Changes since v7:
  rebase on iio git testing branch.

Gwendal Grignou (3):
  iio: acpi_als: Add timestamp channel
  iio: acpi_als: Add local variable dev in probe
  iio: acpi_als: Add trigger support

 drivers/iio/light/acpi-als.c | 113 +++++++++++++++++++++++------------
 1 file changed, 76 insertions(+), 37 deletions(-)

-- 
2.31.0.rc2.261.g7f71774620-goog


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

end of thread, other threads:[~2021-03-20 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17  7:40 [PATCH v7 0/3] iio: acpi_als: Add sotfware trigger support Gwendal Grignou
2021-03-17  7:40 ` [PATCH v7 1/3] iio: acpi_als: Add timestamp channel Gwendal Grignou
2021-03-17  7:40 ` [PATCH v7 2/3] iio: acpi_als: Add local variable dev in probe Gwendal Grignou
2021-03-17  7:40 ` [PATCH v7 3/3] iio: acpi_als: Add trigger support Gwendal Grignou
2021-03-20 17:12 ` [PATCH v7 0/3] iio: acpi_als: Add sotfware " Jonathan Cameron

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).