Dear all, The following patches taken from the ChromeOS 4.4 tree adds more features to the cros_ec_lightbar driver. The patches were forward ported to current mainline and were tested on a Chromebook Pixel 2015.
Note that the patches depends on [1] to apply cleanly, these cros-ec-sensors patches will be hopefully merged soon. There is an immutable branch called ib-iio-mfd-4.9rc1 in iio.git [2] This resend patch includes the ack from Lee Jones received to patch 0/1 Best regards, Enric [1] https://lwn.net/Articles/695907/ [2] https://git.kernel.org/cgit/linux/kernel/git/jic23/iio.git/log/?h=ib-iio-mfd-4.9rc1 Eric Caruso (3): platform/chrome: cros_ec_lightbar - Add lightbar program feature to sysfs platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC Jeffery Yu (1): platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend drivers/platform/chrome/cros_ec_dev.c | 34 +++++ drivers/platform/chrome/cros_ec_dev.h | 6 + drivers/platform/chrome/cros_ec_lightbar.c | 197 ++++++++++++++++++++++++++++- include/linux/mfd/cros_ec_commands.h | 21 ++- 4 files changed, 252 insertions(+), 6 deletions(-) -- 2.1.0