All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: sx9310: Add debouncer-depth parameters
@ 2021-03-28  3:36 Gwendal Grignou
  2021-03-28  3:36 ` [PATCH 1/2] dt-bindings: iio: sx9310: Add close/far debouncer strength Gwendal Grignou
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Gwendal Grignou @ 2021-03-28  3:36 UTC (permalink / raw)
  To: jic23, lars, swboyd, campello, andy.shevchenko, ardeleanalex
  Cc: linux-iio, Gwendal Grignou

Semtech SX9310 SAR sensor has a debouncer filter: only when N
measurements are above/below the far/close threshold an event is
sent to the host.
By default the debouncer is set to 2 events for the close to far
transition and 1 event (no debounce) for far to close.
It is a balance speed of detection and false positive avoidance.

On some chromebooks, the debouncer is set to a larger number.

This patch applies on top of commit 103d6ec82676 ("iio: sx9310: Support ACPI properties")

Gwendal Grignou (2):
  dt-bindings: iio: sx9310: Add close/far debouncer strength
  iio: sx9310: Add debouncer-depth parameters

 .../iio/proximity/semtech,sx9310.yaml         | 18 ++++++++++++++++
 drivers/iio/proximity/sx9310.c                | 21 ++++++++++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)

-- 
2.31.0.291.g576ba9dcdaf-goog


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28  3:36 [PATCH 0/2] iio: sx9310: Add debouncer-depth parameters Gwendal Grignou
2021-03-28  3:36 ` [PATCH 1/2] dt-bindings: iio: sx9310: Add close/far debouncer strength Gwendal Grignou
2021-03-28  3:36 ` [PATCH 2/2] iio: sx9310: Add debouncer-depth parameters Gwendal Grignou
2021-03-28 12:32   ` Andy Shevchenko
2021-03-29  3:11     ` Stephen Boyd
2021-03-29 11:12       ` Andy Shevchenko
2021-03-29  3:12 ` [PATCH 0/2] " Stephen Boyd
2021-03-31  0:38   ` Gwendal Grignou
2021-04-01 13:19     ` Jonathan Cameron
2021-04-02  0:39       ` Stephen Boyd
2021-04-02  9:36         ` Jonathan Cameron
2021-04-04  5:01           ` 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.