OpenCloudOS-Kernel/drivers/platform/chrome
Vic Yang 6f1d912b68 mfd: cros_ec: Add MKBP event support
Newer revisions of the ChromeOS EC add more events besides the keyboard
ones. So handle interrupts in the MFD driver and let consumers register
for notifications for the events they might care.

To keep backward compatibility, if the EC doesn't support MKBP event, we
fall back to the old MKBP key matrix host command.

Cc: Randall Spangler <rspangler@chromium.org>
Cc: Vincent Palatin <vpalatin@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Signed-off-by: Vic Yang <victoryang@google.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2016-08-31 10:50:59 +01:00
..
Kconfig platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Makefile platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
chromeos_laptop.c Revert "platform/chrome: chromeos_laptop: Add Leon Touch" 2016-05-28 08:47:48 -07:00
chromeos_pstore.c platform/chrome: pstore: Move to larger record size. 2016-05-11 11:55:47 -07:00
cros_ec_dev.c platform/chrome: cros_ec_dev - double fetch bug in ioctl 2016-07-05 14:01:52 -07:00
cros_ec_dev.h mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar - use name instead of ID to hide lightbar attributes 2016-05-11 11:55:47 -07:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc - Add support for Google Pixel 2 2015-10-07 14:34:26 -07:00
cros_ec_proto.c mfd: cros_ec: Add MKBP event support 2016-08-31 10:50:59 +01:00
cros_ec_sysfs.c mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_vbc.c platform/chrome: Support reading/writing the vboot context 2015-10-07 15:05:53 -07:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00