Gwendal Grignou c1d1e91aff platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle
This adds a sysfs attribute (/sys/class/chromeos/cros_ec/kb_wake_angle)
used to set and get the keyboard wake lid angle. This attribute is
present only if 2 accelerometers are controlled by the EC.

This patch also moves the cros_ec features check before the device is
added so the features map obtained from the EC is ready on time.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
2018-04-10 22:25:07 -07:00
..
2018-02-15 14:50:32 -08:00
2018-03-02 10:44:44 +01:00
2018-02-02 10:01:04 -08:00
2018-02-26 09:28:35 -08:00
2018-03-23 09:50:54 +10:00
2018-03-14 15:39:33 -04:00
2018-03-05 07:57:41 -05:00
2018-03-09 09:33:48 -08:00
2018-03-21 11:10:20 +01:00
2018-02-01 10:31:17 -08:00
2018-03-08 10:39:58 -07:00
2018-03-12 15:11:59 +05:30
2018-02-05 10:07:40 -08:00
2018-02-06 09:59:40 -08:00
2018-03-20 16:59:01 -07:00
2018-01-22 16:45:26 +01:00
2018-03-25 07:04:00 -10:00
2018-01-09 16:15:20 +01:00
2018-03-09 16:54:18 -08:00
2018-02-01 10:31:17 -08:00
2018-02-06 09:59:40 -08:00