linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/2] iio: cros_ec: Add lid angle driver
@ 2019-05-17 23:38 Gwendal Grignou
  2019-05-17 23:38 ` [PATCH v7 1/2] mfd: cros_ec: Register cros_ec_lid_angle driver when presented Gwendal Grignou
  2019-05-17 23:38 ` [PATCH v7 2/2] iio: cros_ec: Add lid angle driver Gwendal Grignou
  0 siblings, 2 replies; 9+ messages in thread
From: Gwendal Grignou @ 2019-05-17 23:38 UTC (permalink / raw)
  To: enric.balletbo, bleung, groeck, lee.jones, jic23
  Cc: linux-iio, linux-kernel, Gwendal Grignou

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


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

end of thread, other threads:[~2019-06-25 13:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-17 23:38 [PATCH v7 0/2] iio: cros_ec: Add lid angle driver Gwendal Grignou
2019-05-17 23:38 ` [PATCH v7 1/2] mfd: cros_ec: Register cros_ec_lid_angle driver when presented Gwendal Grignou
2019-06-03 12:31   ` Lee Jones
2019-05-17 23:38 ` [PATCH v7 2/2] iio: cros_ec: Add lid angle driver Gwendal Grignou
2019-05-18  9:53   ` Jonathan Cameron
2019-06-14 21:54     ` Gwendal Grignou
2019-06-19 20:49       ` Enric Balletbo Serra
2019-06-21 15:31         ` Jonathan Cameron
2019-06-25 13:53           ` Enric Balletbo i Serra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).