forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'platform-drivers-x86-v4.20-1' of git://git.infradead.org/l…
…inux-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 ...
- Loading branch information
Showing
47 changed files
with
1,587 additions
and
494 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
What: /sys/devices/platform/lg-laptop/reader_mode | ||
Date: October 2018 | ||
KernelVersion: 4.20 | ||
Contact: "Matan Ziv-Av <[email protected]> | ||
Description: | ||
Control reader mode. 1 means on, 0 means off. | ||
|
||
What: /sys/devices/platform/lg-laptop/fn_lock | ||
Date: October 2018 | ||
KernelVersion: 4.20 | ||
Contact: "Matan Ziv-Av <[email protected]> | ||
Description: | ||
Control FN lock mode. 1 means on, 0 means off. | ||
|
||
What: /sys/devices/platform/lg-laptop/battery_care_limit | ||
Date: October 2018 | ||
KernelVersion: 4.20 | ||
Contact: "Matan Ziv-Av <[email protected]> | ||
Description: | ||
Maximal battery charge level. Accepted values are 80 or 100. | ||
|
||
What: /sys/devices/platform/lg-laptop/fan_mode | ||
Date: October 2018 | ||
KernelVersion: 4.20 | ||
Contact: "Matan Ziv-Av <[email protected]> | ||
Description: | ||
Control fan mode. 1 for performance mode, 0 for silent mode. | ||
|
||
What: /sys/devices/platform/lg-laptop/usb_charge | ||
Date: October 2018 | ||
KernelVersion: 4.20 | ||
Contact: "Matan Ziv-Av <[email protected]> | ||
Description: | ||
Control USB port charging when device is turned off. | ||
1 means on, 0 means off. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.. SPDX-License-Identifier: GPL-2.0+ | ||
LG Gram laptop extra features | ||
============================= | ||
|
||
By Matan Ziv-Av <[email protected]> | ||
|
||
|
||
Hotkeys | ||
------- | ||
|
||
The following FN keys are ignored by the kernel without this driver: | ||
- FN-F1 (LG control panel) - Generates F15 | ||
- FN-F5 (Touchpad toggle) - Generates F13 | ||
- FN-F6 (Airplane mode) - Generates RFKILL | ||
- FN-F8 (Keyboard backlight) - Generates F16. | ||
This key also changes keyboard backlight mode. | ||
- FN-F9 (Reader mode) - Generates F14 | ||
|
||
The rest of the FN key work without a need for a special driver. | ||
|
||
|
||
Reader mode | ||
----------- | ||
|
||
Writing 0/1 to /sys/devices/platform/lg-laptop/reader_mode disables/enables | ||
reader mode. In this mode the screen colors change (blue color reduced), | ||
and the reader mode indicator LED (on F9 key) turns on. | ||
|
||
|
||
FN Lock | ||
------- | ||
|
||
Writing 0/1 to /sys/devices/platform/lg-laptop/fn_lock disables/enables | ||
FN lock. | ||
|
||
|
||
Battery care limit | ||
------------------ | ||
|
||
Writing 80/100 to /sys/devices/platform/lg-laptop/battery_care_limit | ||
sets the maximum capacity to charge the battery. Limiting the charge | ||
reduces battery capacity loss over time. | ||
|
||
This value is reset to 100 when the kernel boots. | ||
|
||
|
||
Fan mode | ||
-------- | ||
|
||
Writing 1/0 to /sys/devices/platform/lg-laptop/fan_mode disables/enables | ||
the fan silent mode. | ||
|
||
|
||
USB charge | ||
---------- | ||
|
||
Writing 0/1 to /sys/devices/platform/lg-laptop/usb_charge disables/enables | ||
charging another device from the USB port while the device is turned off. | ||
|
||
This value is reset to 0 when the kernel boots. | ||
|
||
|
||
LEDs | ||
~~~~ | ||
|
||
The are two LED devices supported by the driver: | ||
|
||
Keyboard backlight | ||
------------------ | ||
|
||
A led device named kbd_led controls the keyboard backlight. There are three | ||
lighting level: off (0), low (127) and high (255). | ||
|
||
The keyboard backlight is also controlled by the key combination FN-F8 | ||
which cycles through those levels. | ||
|
||
|
||
Touchpad indicator LED | ||
---------------------- | ||
|
||
On the F5 key. Controlled by led device names tpad_led. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -376,7 +376,7 @@ F: drivers/platform/x86/i2c-multi-instantiate.c | |
ACPI PMIC DRIVERS | ||
M: "Rafael J. Wysocki" <[email protected]> | ||
M: Len Brown <[email protected]> | ||
R: Andy Shevchenko <[email protected]> | ||
R: Andy Shevchenko <[email protected]> | ||
R: Mika Westerberg <[email protected]> | ||
L: [email protected] | ||
Q: https://patchwork.kernel.org/project/linux-acpi/list/ | ||
|
@@ -4207,17 +4207,24 @@ M: Pali Rohár <[email protected]> | |
S: Maintained | ||
F: drivers/platform/x86/dell-rbtn.* | ||
|
||
DELL REMOTE BIOS UPDATE DRIVER | ||
M: Stuart Hayes <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/platform/x86/dell_rbu.c | ||
|
||
DELL LAPTOP SMM DRIVER | ||
M: Pali Rohár <[email protected]> | ||
S: Maintained | ||
F: drivers/hwmon/dell-smm-hwmon.c | ||
F: include/uapi/linux/i8k.h | ||
|
||
DELL SYSTEMS MANAGEMENT BASE DRIVER (dcdbas) | ||
M: Doug Warzecha <[email protected]> | ||
M: Stuart Hayes <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/dcdbas.txt | ||
F: drivers/firmware/dcdbas.* | ||
F: drivers/platform/x86/dcdbas.* | ||
|
||
DELL WMI NOTIFICATIONS DRIVER | ||
M: Matthew Garrett <[email protected]> | ||
|
@@ -7347,6 +7354,12 @@ L: [email protected] (moderated for non-subscribers) | |
S: Supported | ||
F: sound/soc/intel/ | ||
|
||
INTEL ATOMISP2 DUMMY / POWER-MANAGEMENT DRIVER | ||
M: Hans de Goede <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/platform/x86/intel_atomisp2_pm.c | ||
|
||
INTEL C600 SERIES SAS CONTROLLER DRIVER | ||
M: Intel SCU Linux support <[email protected]> | ||
M: Artur Paszkiewicz <[email protected]> | ||
|
@@ -7533,7 +7546,6 @@ M: Rajneesh Bhardwaj <[email protected]> | |
M: Vishwanath Somayaji <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: arch/x86/include/asm/pmc_core.h | ||
F: drivers/platform/x86/intel_pmc_core* | ||
|
||
INTEL PMC/P-Unit IPC DRIVER | ||
|
@@ -7577,7 +7589,8 @@ F: drivers/infiniband/hw/i40iw/ | |
F: include/uapi/rdma/i40iw-abi.h | ||
|
||
INTEL TELEMETRY DRIVER | ||
M: Souvik Kumar Chakravarty <[email protected]> | ||
M: Rajneesh Bhardwaj <[email protected]> | ||
M: "David E. Box" <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: arch/x86/include/asm/intel_telemetry.h | ||
|
@@ -8310,6 +8323,14 @@ W: http://legousb.sourceforge.net/ | |
S: Maintained | ||
F: drivers/usb/misc/legousbtower.c | ||
|
||
LG LAPTOP EXTRAS | ||
M: Matan Ziv-Av <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: Documentation/ABI/testing/sysfs-platform-lg-laptop | ||
F: Documentation/laptops/lg-laptop.rst | ||
F: drivers/platform/x86/lg-laptop.c | ||
|
||
LG2160 MEDIA DRIVER | ||
M: Michael Krufky <[email protected]> | ||
L: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.