diff options
| author | Stephen Boyd <[email protected]> | 2021-02-10 18:46:01 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-03-25 19:13:50 +0000 |
| commit | 7792225b7b671800d1c9b562ace8e167a3d0e2e7 (patch) | |
| tree | 9696146b4184a2d8e9b95365d7d29a748ad97c13 /tools/perf/scripts/python | |
| 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 <[email protected]>
Cc: Benson Leung <[email protected]>
Cc: Guenter Roeck <[email protected]>
Cc: Douglas Anderson <[email protected]>
Cc: Gwendal Grignou <[email protected]>
Reviewed-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Gwendal Grignou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions