Skip to content

Commit ff6cdfd

Browse files
jekhorrafaeljw
authored andcommitted
ACPI / x86: Make PWM2 device always present at Lenovo Yoga Book
Lenovo Yoga Book uses PWM2 for controlling keyboard backlight but this device is hidden in the DSDT in Windows version of notebook (if OSID == 1). Make this device always present for this notebook. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent d139371 commit ff6cdfd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/acpi/x86/utils.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ static const struct always_present_id always_present_ids[] = {
5656
*/
5757
ENTRY("80860F09", "1", ICPU(INTEL_FAM6_ATOM_SILVERMONT), {}),
5858
ENTRY("80862288", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT), {}),
59+
60+
/* Lenovo Yoga Book uses PWM2 for keyboard backlight control */
61+
ENTRY("80862289", "2", ICPU(INTEL_FAM6_ATOM_AIRMONT), {
62+
DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9"),
63+
}),
5964
/*
6065
* The INT0002 device is necessary to clear wakeup interrupt sources
6166
* on Cherry Trail devices, without it we get nobody cared IRQ msgs.

0 commit comments

Comments
 (0)