aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/cros_ec_commands.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2017-01-27 11:52:35 +0100
committerLee Jones <lee.jones@linaro.org>2017-02-13 09:25:19 +0000
commit6ccc3a33810e8ec09936fa990c13370d9f61606f (patch)
tree736da06bafda0aad6aa3e7d3d8bd3555c14b8fd1 /include/linux/mfd/cros_ec_commands.h
parentinput: cros_ec_keyb: Add non-matrix buttons and switches (diff)
downloadlinux-dev-6ccc3a33810e8ec09936fa990c13370d9f61606f.tar.xz
linux-dev-6ccc3a33810e8ec09936fa990c13370d9f61606f.zip
input: cros_ec_keyb: Add Tablet Mode switch
Add switch to report tablet mode. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Enric Balletbo Serra <enric.balletbo@collabora.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/cros_ec_commands.h')
-rw-r--r--include/linux/mfd/cros_ec_commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h
index 004dcf3560fb..da1c188562bc 100644
--- a/include/linux/mfd/cros_ec_commands.h
+++ b/include/linux/mfd/cros_ec_commands.h
@@ -2068,6 +2068,7 @@ struct ec_response_get_next_event {
/* Switches */
#define EC_MKBP_LID_OPEN 0
+#define EC_MKBP_TABLET_MODE 1
/*****************************************************************************/
/* Temperature sensor commands */