diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 11:42:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-01 11:42:21 -0400 |
commit | eb7046e9bf466cebfcfbcdf640e41d9e3a80086c (patch) | |
tree | 7d998f56e306de4c1a78355f219e38b75cfe3866 /drivers/platform/x86/intel_pmc_ipc.c | |
parent | 5b7449810ae6d652629c550d3974c8453836d229 (diff) | |
parent | 3b692c55e58d06ba9b17c66784cab5a95ba5be9b (diff) |
Merge tag 'platform-drivers-x86-v4.20-1' of git://git.infradead.org/linux-platform-drivers-x86
Pull x86 platform driver updates from Darren Hart:
- Move the Dell dcdbas and dell_rbu drivers into platform/drivers/x86
as they are closely coupled with other drivers in this location.
- Improve _init* usage for acerhdf and fix some usage issues with
messages and module parameters.
- Simplify asus-wmi by calling ACPI/WMI methods directly, eliminating
workqueue overhead, eliminate double reporting of keyboard backlight.
- Fix wake from USB failure on Bay Trail devices (intel_int0002_vgpio).
- Notify intel_telemetry users when IPC1 device is not enabled.
- Update various drivers with new laptop model IDs.
- Update several intel drivers to use SPDX identifers and order headers
alphabetically.
* tag 'platform-drivers-x86-v4.20-1' of git://git.infradead.org/linux-platform-drivers-x86: (64 commits)
HID: asus: only support backlight when it's not driven by WMI
platform/x86: asus-wmi: export function for evaluating WMI methods
platform/x86: asus-wmi: Only notify kbd LED hw_change by fn-key pressed
platform/x86: wmi: declare device_type structure as constant
platform/x86: ideapad: Add Y530-15ICH to no_hw_rfkill
platform/x86: Add Intel AtomISP2 dummy / power-management driver
platform/x86: touchscreen_dmi: Add min-x and min-y settings for various models
platform/x86: touchscreen_dmi: Add info for the Onda V80 Plus v3 tablet
platform/x86: touchscreen_dmi: Add info for the Trekstor Primetab T13B tablet
platform/x86: intel_telemetry: Get rid of custom macro
platform/x86: intel_telemetry: report debugfs failure
MAINTAINERS: intel_telemetry: Update maintainers info
platform/x86: Add LG Gram laptop special features driver
platform/x86: asus-wmi: Simplify the keyboard brightness updating process
platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11 convertible
platform/x86: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items
MAINTAINERS: intel_pmc_core: Update MAINTAINERS
firmware: dcdbas: include linux/io.h
platform/x86: intel-wmi-thunderbolt: Add dynamic debugging
platform/x86: intel-wmi-thunderbolt: Convert to use SPDX identifier
...
Diffstat (limited to 'drivers/platform/x86/intel_pmc_ipc.c')
-rw-r--r-- | drivers/platform/x86/intel_pmc_ipc.c | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c index e7edc8c63936..7964ba22ef8d 100644 --- a/drivers/platform/x86/intel_pmc_ipc.c +++ b/drivers/platform/x86/intel_pmc_ipc.c | |||
@@ -1,39 +1,34 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * intel_pmc_ipc.c: Driver for the Intel PMC IPC mechanism | 3 | * Driver for the Intel PMC IPC mechanism |
3 | * | 4 | * |
4 | * (C) Copyright 2014-2015 Intel Corporation | 5 | * (C) Copyright 2014-2015 Intel Corporation |
5 | * | 6 | * |
6 | * This driver is based on Intel SCU IPC driver(intel_scu_opc.c) by | 7 | * This driver is based on Intel SCU IPC driver(intel_scu_ipc.c) by |
7 | * Sreedhara DS <sreedhara.ds@intel.com> | 8 | * Sreedhara DS <sreedhara.ds@intel.com> |
8 | * | 9 | * |
9 | * This program is free software; you can redistribute it and/or | ||
10 | * modify it under the terms of the GNU General Public License | ||
11 | * as published by the Free Software Foundation; version 2 | ||
12 | * of the License. | ||
13 | * | ||
14 | * PMC running in ARC processor communicates with other entity running in IA | 10 | * PMC running in ARC processor communicates with other entity running in IA |
15 | * core through IPC mechanism which in turn messaging between IA core ad PMC. | 11 | * core through IPC mechanism which in turn messaging between IA core ad PMC. |
16 | */ | 12 | */ |
17 | 13 | ||
18 | #include <linux/module.h> | 14 | #include <linux/acpi.h> |
15 | #include <linux/atomic.h> | ||
16 | #include <linux/bitops.h> | ||
19 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
20 | #include <linux/errno.h> | ||
21 | #include <linux/init.h> | ||
22 | #include <linux/device.h> | 18 | #include <linux/device.h> |
23 | #include <linux/pm.h> | 19 | #include <linux/errno.h> |
20 | #include <linux/interrupt.h> | ||
21 | #include <linux/io-64-nonatomic-lo-hi.h> | ||
22 | #include <linux/kernel.h> | ||
23 | #include <linux/module.h> | ||
24 | #include <linux/notifier.h> | ||
24 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
25 | #include <linux/platform_device.h> | 26 | #include <linux/platform_device.h> |
26 | #include <linux/interrupt.h> | 27 | #include <linux/pm.h> |
27 | #include <linux/pm_qos.h> | 28 | #include <linux/pm_qos.h> |
28 | #include <linux/kernel.h> | ||
29 | #include <linux/bitops.h> | ||
30 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
31 | #include <linux/atomic.h> | ||
32 | #include <linux/notifier.h> | ||
33 | #include <linux/suspend.h> | ||
34 | #include <linux/acpi.h> | ||
35 | #include <linux/io-64-nonatomic-lo-hi.h> | ||
36 | #include <linux/spinlock.h> | 30 | #include <linux/spinlock.h> |
31 | #include <linux/suspend.h> | ||
37 | 32 | ||
38 | #include <asm/intel_pmc_ipc.h> | 33 | #include <asm/intel_pmc_ipc.h> |
39 | 34 | ||
@@ -1029,7 +1024,7 @@ static void __exit intel_pmc_ipc_exit(void) | |||
1029 | 1024 | ||
1030 | MODULE_AUTHOR("Zha Qipeng <qipeng.zha@intel.com>"); | 1025 | MODULE_AUTHOR("Zha Qipeng <qipeng.zha@intel.com>"); |
1031 | MODULE_DESCRIPTION("Intel PMC IPC driver"); | 1026 | MODULE_DESCRIPTION("Intel PMC IPC driver"); |
1032 | MODULE_LICENSE("GPL"); | 1027 | MODULE_LICENSE("GPL v2"); |
1033 | 1028 | ||
1034 | /* Some modules are dependent on this, so init earlier */ | 1029 | /* Some modules are dependent on this, so init earlier */ |
1035 | fs_initcall(intel_pmc_ipc_init); | 1030 | fs_initcall(intel_pmc_ipc_init); |