]> 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)
commit471e264af4b760f122d34c66fcf8ce4b471597f6
treef1ca9098f0723f22826bca1c7fa2fbd3b842335a
parentd59357af8a655eb388b73f5bdc661e9a153ae52a
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