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: Dmitry Torokhov <dtor@chromium.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Родитель
5b372600cc
Коммит
78d8f8f1a1
|
@ -2132,6 +2132,7 @@ struct ec_response_get_next_event_v1 {
|
||||||
/* Switches */
|
/* Switches */
|
||||||
#define EC_MKBP_LID_OPEN 0
|
#define EC_MKBP_LID_OPEN 0
|
||||||
#define EC_MKBP_TABLET_MODE 1
|
#define EC_MKBP_TABLET_MODE 1
|
||||||
|
#define EC_MKBP_BASE_ATTACHED 2
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Temperature sensor commands */
|
/* Temperature sensor commands */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче