mfd: cros: add "base attached" MKBP switch definition
authorDmitry Torokhov <dtor@chromium.org>
Fri, 5 Oct 2018 18:41:13 +0000 (11:41 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 9 Oct 2018 08:40:55 +0000 (10:40 +0200)
commit78d8f8f1a1800cf6068ffcac7a14cda19ae693d8
treef1ca9098f0723f22826bca1c7fa2fbd3b842335a
parent5b372600ccf1116701e96cf593559a60c9bee7e0
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>
include/linux/mfd/cros_ec_commands.h