aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-08-21 16:33:33 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-21 16:33:33 -0400
commit40fafdcbcd7a74e80ab0229b35bf6e497831e28f (patch)
tree40e9c8ee93cb52d1cee3f8168099b92937633745
parent5e26830990a9e8816b6854f77c550f1c847d89d8 (diff)
parent40291fb75123816b35ba06696e56b9cf2d96bf90 (diff)
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
-rw-r--r--drivers/platform/chrome/chromeos_tbmc.c10
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 @@
1// SPDX-License-Identifier: GPL-2.0+ 1// SPDX-License-Identifier: GPL-2.0
2// Driver to detect Tablet Mode for ChromeOS convertible. 2// Driver to detect Tablet Mode for ChromeOS convertible.
3// 3//
4// Copyright (C) 2017 Google, Inc. 4// Copyright (C) 2017 Google, Inc.
5// Author: Gwendal Grignou <gwendal@chromium.org> 5// Author: Gwendal Grignou <gwendal@chromium.org>
6//
7// On Chromebook using ACPI, this device listens for notification
8// from GOOG0006 and issue method TBMC to retrieve the status.
9//
10// GOOG0006 issues the notification when it receives EC_HOST_EVENT_MODE_CHANGE
11// from the EC.
12// Method TBMC reads EC_ACPI_MEM_DEVICE_ORIENTATION byte from the shared
13// memory region.
6 14
7#include <linux/acpi.h> 15#include <linux/acpi.h>
8#include <linux/input.h> 16#include <linux/input.h>