Commit 78d8f8f1 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Jiri Kosina
Browse files

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: default avatarDmitry Torokhov <dtor@chromium.org>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 5b372600
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */