All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/3] iio: acpi_als: Add sotfware trigger support
@ 2020-12-29  1:52 Gwendal Grignou
  2020-12-29  1:52 ` [PATCH v6 1/3] iio: acpi_als: Add timestamp channel Gwendal Grignou
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Gwendal Grignou @ 2020-12-29  1:52 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.


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 | 121 +++++++++++++++++++++++------------
 1 file changed, 81 insertions(+), 40 deletions(-)

-- 
2.29.2.729.g45daf8777d-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH v5 0/3] iio: acpi_als: Add sotfware trigger support
@ 2020-12-16 21:41 Gwendal Grignou
  0 siblings, 0 replies; 7+ messages in thread
From: Gwendal Grignou @ 2020-12-16 21:41 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.


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 | 105 ++++++++++++++++++++++++-----------
 1 file changed, 74 insertions(+), 31 deletions(-)

-- 
2.29.2.729.g45daf8777d-goog


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

end of thread, other threads:[~2021-02-21 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29  1:52 [PATCH v5 0/3] iio: acpi_als: Add sotfware trigger support Gwendal Grignou
2020-12-29  1:52 ` [PATCH v6 1/3] iio: acpi_als: Add timestamp channel Gwendal Grignou
2020-12-29  1:52 ` [PATCH v6 2/3] iio: acpi_als: Add local variable dev in probe Gwendal Grignou
2020-12-29  1:53 ` [PATCH v6 3/3] iio: acpi_als: Add trigger support Gwendal Grignou
2020-12-29 17:39 ` [PATCH v5 0/3] iio: acpi_als: Add sotfware " Jonathan Cameron
2021-02-21 16:15   ` Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2020-12-16 21:41 Gwendal Grignou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.