]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd08fa52d7952c57f5fe93c9ece31a3e981d36a9
treef1ca9098f0723f22826bca1c7fa2fbd3b842335a
parenta5367fb7a90b72d8bbb43875a78e42367650e0fe
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