input: cros_ec_keyb: Add non-matrix buttons and switches
authorDouglas Anderson <dianders@chromium.org>
Fri, 20 Jan 2017 10:14:15 +0000 (11:14 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 8 Feb 2017 11:36:23 +0000 (11:36 +0000)
commitcdd7950e7aa4a4d0d8ba71e3967aae6d25d09b03
tree5dd015b296e9a1e0d0f68e7d136f751540fc627b
parentb44c4d3f1ee77e7947c525d6a907c0057fa238d2
input: cros_ec_keyb: Add non-matrix buttons and switches

On some newer boards using mkbp we're hooking up non-matrix buttons and
switches to the EC but NOT to the main application processor.

Let's add kernel support to handle this.  Rather than creating a whole
new input driver, we'll continue to use cros_ec_keyb and just report the
new keys.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/input/keyboard/cros_ec_keyb.c