Skip to content

Commit a8c9753

Browse files
jekhorrafaeljw
authored andcommitted
ACPI: x86: Force enabling of PWM2 on the Yogabook YB1-X90
The PWM2 on YB1-X90 tablets is used for keyboard backlight control but it is disabled in the ACPI DSDT table. Add it to the override_status_ids list to allow keyboard function control driver (drivers/platform/x86/lenovo/yogabook.c) to use it. Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com> Link: https://patch.msgid.link/20260211222242.4101162-1-jekhor@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent d84e173 commit a8c9753

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/acpi/x86/utils.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ static const struct override_status_id override_status_ids[] = {
8181
DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
8282
}),
8383

84+
/*
85+
* Lenovo Yoga Book uses PWM2 for touch keyboard backlight control.
86+
* It needs to be enabled only for the Android device version (YB1-X90*
87+
* aka YETI-11); the Windows version (YB1-X91*) uses ACPI control
88+
* methods.
89+
*/
90+
PRESENT_ENTRY_HID("80862289", "2", INTEL_ATOM_AIRMONT, {
91+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
92+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
93+
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
94+
}),
95+
8496
/*
8597
* The INT0002 device is necessary to clear wakeup interrupt sources
8698
* on Cherry Trail devices, without it we get nobody cared IRQ msgs.

0 commit comments

Comments
 (0)