linux/drivers/platform/chrome
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
..
chromeos_laptop.c Revert "platform/chrome: chromeos_laptop: make chromeos_laptop const" 2018-03-07 21:18:04 -08:00
chromeos_pstore.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
cros_ec_debugfs.c platform/chrome: cros_ec_debugfs: Add PD port info to debugfs 2018-04-10 22:24:51 -07:00
cros_ec_lightbar.c cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc_reg.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc: Add support for Google Glimmer 2017-12-17 14:04:21 -08:00
cros_ec_proto.c platform/chrome: Use proper protocol transfer function 2017-12-17 14:04:21 -08:00
cros_ec_sysfs.c platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle 2018-04-10 22:25:07 -07:00
cros_ec_vbc.c cros_ec: Split cros_ec_devs module 2017-12-15 10:45:11 +00:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Kconfig cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00
Makefile cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00