diff options
author | Benson Leung <bleung@chromium.org> | 2018-06-05 23:05:29 +0200 |
---|---|---|
committer | Benson Leung <bleung@chromium.org> | 2018-06-17 01:52:59 +0200 |
commit | c474e9f2be9992861d926eea3e5d4fb393cd6e2a (patch) | |
tree | d87a3cefeea84cb7afb60f16c34b4e13dc29db1b /drivers/platform/chrome | |
parent | Linux 4.18-rc1 (diff) | |
download | linux-c474e9f2be9992861d926eea3e5d4fb393cd6e2a.tar.xz linux-c474e9f2be9992861d926eea3e5d4fb393cd6e2a.zip |
platform/chrome: chromeos_tbmc - fix SPDX identifier
Original submission was GPLv2 only, so mark as GPL-2.0.
Also restored some descriptive lines that were there before.
Signed-off-by: Benson Leung <bleung@chromium.org>
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> |