]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: Add driver to force WMI Thunderbolt controller power status
authorMario Limonciello <mario.limonciello@dell.com>
Fri, 8 Sep 2017 15:23:11 +0000 (10:23 -0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Sep 2017 13:07:22 +0000 (16:07 +0300)
commitce6a90027c10f970f872de5db0294f9e3e969f1c
tree8f370602c3ae125a6bc68dc3489f395982937069
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
platform/x86: Add driver to force WMI Thunderbolt controller power status

Current implementations of Intel Thunderbolt controllers will go
into a low power mode when not in use.

Many machines containing these controllers also have a GPIO wired up
that can force the controller awake.  This is offered via a ACPI-WMI
interface intended to be manipulated by a userspace utility.

This mechanism is provided by Intel to OEMs to include in BIOS.
It uses an industry wide GUID that is populated in a separate _WDG
entry with no binary MOF.

This interface allows software such as fwupd to wake up thunderbolt
controllers to query the firmware version or flash new firmware.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
[andy fixed merge conflicts and bump kernel version for ABI]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt [new file with mode: 0644]
Documentation/admin-guide/thunderbolt.rst
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel-wmi-thunderbolt.c [new file with mode: 0644]