lkml.org 
[lkml]   [2019]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v7 0/2] iio: cros_ec: Add lid angle driver
Date
Add a IIO driver that reports the angle between the lid and the base for
ChromeOS convertible device.

Tested on eve with ToT EC firmware.
Check driver is loaded and lid angle is correct.

Changes in v7:
- Split the patch in two, as there are no build dependency between
mfd and iio changes.

Gwendal Grignou (2):
mfd: cros_ec: Register cros_ec_lid_angle driver when present
iio: cros_ec: Add lid angle driver

drivers/iio/common/cros_ec_sensors/Kconfig | 9 ++
drivers/iio/common/cros_ec_sensors/Makefile | 1 +
.../cros_ec_sensors/cros_ec_lid_angle.c | 139 ++++++++++++++++++
drivers/mfd/cros_ec_dev.c | 13 +-
4 files changed, 159 insertions(+), 3 deletions(-)
create mode 100644 drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c

--
2.21.0.1020.gf2820cf01a-goog

\
 
 \ /
  Last update: 2019-05-18 01:39    [W:0.888 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site