Files
linux/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 <[email protected]>
Cc: Vincent Palatin <[email protected]>
Cc: Benson Leung <[email protected]>
Signed-off-by: Vic Yang <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]>
Tested-by: Enric Balletbo i Serra <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
2016-08-31 10:50:59 +01:00
..