diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-01-31 00:47:22 +0100 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-05-23 20:56:45 +0200 |
commit | b418f74170d7e066bad802e8563cabdb1b6032c6 (patch) | |
tree | 1cffc92b0d868b6aa741037004f3b8ee874bddd4 /drivers/platform/chrome/Makefile | |
parent | platform/chrome: cros_ec_lpc: do not try DMI match when ACPI device found (diff) | |
download | linux-b418f74170d7e066bad802e8563cabdb1b6032c6.tar.xz linux-b418f74170d7e066bad802e8563cabdb1b6032c6.zip |
platform: chrome: Add Tablet Switch ACPI driver
Add a kernel driver for GOOG0006, an ACPI driver reporting an event when
the tablet switch status changes.
On an ACPI based convertible chromebook check evtest display tablet mode
switch changes:
Available devices:
..
/dev/input/event3: Tablet Mode Switch
..
Testing ... (interrupt to exit)
Event: time 1484879712.604360, type 5 (EV_SW), code 1 (SW_TABLET_MODE),
value 1
Event: time 1484879712.604360, -------------- SYN_REPORT ------------
Event: time 1484879715.132228, type 5 (EV_SW), code 1 (SW_TABLET_MODE),
value 0
Event: time 1484879715.132228, -------------- SYN_REPORT ------------
...
Check state is updated at resume time when different from suspend time.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/platform/chrome/Makefile')
-rw-r--r-- | drivers/platform/chrome/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Makefile b/drivers/platform/chrome/Makefile index ff3b369911f0..e44c37a63fa9 100644 --- a/drivers/platform/chrome/Makefile +++ b/drivers/platform/chrome/Makefile @@ -2,6 +2,7 @@ obj-$(CONFIG_CHROMEOS_LAPTOP) += chromeos_laptop.o obj-$(CONFIG_CHROMEOS_PSTORE) += chromeos_pstore.o +obj-$(CONFIG_CHROMEOS_TBMC) += chromeos_tbmc.o cros_ec_ctl-objs := cros_ec_sysfs.o cros_ec_lightbar.o \ cros_ec_vbc.o cros_ec_debugfs.o obj-$(CONFIG_CROS_EC_CTL) += cros_ec_ctl.o |