提交 78d8f8f1 编写于 作者: D Dmitry Torokhov 提交者: Jiri Kosina

mfd: cros: add "base attached" MKBP switch definition

This adds a "base attached" switch definition to the MKBP protocol that
is used by Whiskers driver to properly determine device state (clamshell
vs tablet mode).
Signed-off-by: NDmitry Torokhov <dtor@chromium.org>
Acked-by: NLee Jones <lee.jones@linaro.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 5b372600
......@@ -2132,6 +2132,7 @@ struct ec_response_get_next_event_v1 {
/* Switches */
#define EC_MKBP_LID_OPEN 0
#define EC_MKBP_TABLET_MODE 1
#define EC_MKBP_BASE_ATTACHED 2
/*****************************************************************************/
/* Temperature sensor commands */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册