diff options
author | Vic Yang <victoryang@google.com> | 2016-08-10 19:05:24 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-08-31 10:50:59 +0100 |
commit | 6f1d912b687d3d17c1731f5bda3b5d6703bce4a0 (patch) | |
tree | e3a0ad0da285ff23c315a23eb4d00661c7ad16f3 /drivers/input/keyboard | |
parent | 694d0d0bb2030d2e36df73e2d23d5770511dbc8d (diff) | |
download | blackbird-op-linux-6f1d912b687d3d17c1731f5bda3b5d6703bce4a0.tar.gz blackbird-op-linux-6f1d912b687d3d17c1731f5bda3b5d6703bce4a0.zip |
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>
Diffstat (limited to 'drivers/input/keyboard')
0 files changed, 0 insertions, 0 deletions