Thread (7 messages) flat view 7 messages, 4 authors, 2021-02-02

Re: [PATCH] Input: cros_ec_keyb: Add support for a front proximity switch

From: Stephen Boyd <hidden>
Date: 2021-01-15 22:46:16
Also in: lkml

Quoting Dmitry Torokhov (2021-01-07 11:46:48)
Yes, I understand that on some devices the proximity sensors are not
true sensors but rather on/off signals, potentially derived from a
multitude of sources. However there is still a benefit in exposing them
as IIO proximity devices with limited reporting representing
[near, infinity] range/values. This will mean that userspace needs to
monitor only one set of devices (IIO) instead of both IIO and input, and
will not require constantly expanding EV_SW set to account for
ever-growing number of proximity sensors (lap, palm, general presence,
etc).
Ok, no problem. I think I'll have to spin up a small driver to handle
this as an IIO proximity device and then register the IIO child device
from the cros ec driver. Let me see how that goes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help