diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-21 22:33:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-21 22:33:33 +0200 |
commit | 40fafdcbcd7a74e80ab0229b35bf6e497831e28f (patch) | |
tree | 40e9c8ee93cb52d1cee3f8168099b92937633745 /drivers/platform/chrome | |
parent | Merge tag 'microblaze-v4.19-rc1' of git://git.monstr.eu/linux-2.6-microblaze (diff) | |
parent | Merge tag 'ib-platform-chrome-mfd-move-cros-ec-transport-for-4.19' into worki... (diff) | |
download | linux-40fafdcbcd7a74e80ab0229b35bf6e497831e28f.tar.xz linux-40fafdcbcd7a74e80ab0229b35bf6e497831e28f.zip |
Merge tag 'chrome-platform-for-linus-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform
Pull chrome platform updates from Benson Leung.
Everything but the SPDX identifier updates actually came in earlier
through the MFD merge.
* tag 'chrome-platform-for-linus-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bleung/chrome-platform:
platform/chrome: chromeos_tbmc - fix SPDX identifier
Diffstat (limited to 'drivers/platform/chrome')
-rw-r--r-- | drivers/platform/chrome/chromeos_tbmc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/platform/chrome/chromeos_tbmc.c b/drivers/platform/chrome/chromeos_tbmc.c index b935df6a9694..1e81f8144c0d 100644 --- a/drivers/platform/chrome/chromeos_tbmc.c +++ b/drivers/platform/chrome/chromeos_tbmc.c @@ -1,8 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0 // Driver to detect Tablet Mode for ChromeOS convertible. // // Copyright (C) 2017 Google, Inc. // Author: Gwendal Grignou <gwendal@chromium.org> +// +// On Chromebook using ACPI, this device listens for notification +// from GOOG0006 and issue method TBMC to retrieve the status. +// +// GOOG0006 issues the notification when it receives EC_HOST_EVENT_MODE_CHANGE +// from the EC. +// Method TBMC reads EC_ACPI_MEM_DEVICE_ORIENTATION byte from the shared +// memory region. #include <linux/acpi.h> #include <linux/input.h> |