diff options
author | Stephen Boyd | 2021-02-10 18:46:01 -0800 |
---|---|---|
committer | Jonathan Cameron | 2021-03-25 19:13:50 +0000 |
commit | 7792225b7b671800d1c9b562ace8e167a3d0e2e7 (patch) | |
tree | 9696146b4184a2d8e9b95365d7d29a748ad97c13 /sound/aoa/aoa.h | |
parent | 19ad93bc82e7d0ea7b02ada623cddfeab20c9046 (diff) |
iio: proximity: Add a ChromeOS EC MKBP proximity driver
Add support for a ChromeOS EC proximity driver that exposes a "front"
proximity sensor via the IIO subsystem. The EC decides when front
proximity is near and sets an MKBP switch 'EC_MKBP_FRONT_PROXIMITY' to
notify the kernel of proximity. Similarly, when proximity detects
something far away it sets the switch bit to 0. For now this driver
exposes a single sensor, but it could be expanded in the future via more
MKBP bits if desired.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Benson Leung <bleung@chromium.org>
Cc: Guenter Roeck <groeck@chromium.org>
Cc: Douglas Anderson <dianders@chromium.org>
Cc: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20210211024601.1963379-4-swboyd@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'sound/aoa/aoa.h')
0 files changed, 0 insertions, 0 deletions