* [PATCH] ACPI: x86: Force enabling of PWM2 on the Yogabook YB1-X90
@ 2026-02-11 22:22 Yauhen Kharuzhy
2026-02-12 11:44 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Yauhen Kharuzhy @ 2026-02-11 22:22 UTC (permalink / raw)
To: linux-acpi
Cc: Rafael J. Wysocki, Len Brown, Hans de Goede, linux-kernel,
Yauhen Kharuzhy
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>
---
drivers/acpi/x86/utils.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c
index 4ee30c2897a2..418951639f51 100644
--- a/drivers/acpi/x86/utils.c
+++ b/drivers/acpi/x86/utils.c
@@ -81,6 +81,18 @@ static const struct override_status_id override_status_ids[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
}),
+ /*
+ * Lenovo Yoga Book uses PWM2 for touch keyboard backlight control.
+ * It needs to be enabled only for the Android device version (YB1-X90*
+ * aka YETI-11); the Windows version (YB1-X91*) uses ACPI control
+ * methods.
+ */
+ PRESENT_ENTRY_HID("80862289", "2", INTEL_ATOM_AIRMONT, {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
+ }),
+
/*
* The INT0002 device is necessary to clear wakeup interrupt sources
* on Cherry Trail devices, without it we get nobody cared IRQ msgs.
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: x86: Force enabling of PWM2 on the Yogabook YB1-X90
2026-02-11 22:22 [PATCH] ACPI: x86: Force enabling of PWM2 on the Yogabook YB1-X90 Yauhen Kharuzhy
@ 2026-02-12 11:44 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-02-12 11:44 UTC (permalink / raw)
To: Yauhen Kharuzhy
Cc: linux-acpi, Rafael J. Wysocki, Len Brown, Hans de Goede,
linux-kernel
On Wed, Feb 11, 2026 at 11:22 PM Yauhen Kharuzhy <jekhor@gmail.com> wrote:
>
> 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>
> ---
> drivers/acpi/x86/utils.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c
> index 4ee30c2897a2..418951639f51 100644
> --- a/drivers/acpi/x86/utils.c
> +++ b/drivers/acpi/x86/utils.c
> @@ -81,6 +81,18 @@ static const struct override_status_id override_status_ids[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
> }),
>
> + /*
> + * Lenovo Yoga Book uses PWM2 for touch keyboard backlight control.
> + * It needs to be enabled only for the Android device version (YB1-X90*
> + * aka YETI-11); the Windows version (YB1-X91*) uses ACPI control
> + * methods.
> + */
> + PRESENT_ENTRY_HID("80862289", "2", INTEL_ATOM_AIRMONT, {
> + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
> + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
> + }),
> +
> /*
> * The INT0002 device is necessary to clear wakeup interrupt sources
> * on Cherry Trail devices, without it we get nobody cared IRQ msgs.
> --
Applied as 7.0-rc material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-12 11:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-11 22:22 [PATCH] ACPI: x86: Force enabling of PWM2 on the Yogabook YB1-X90 Yauhen Kharuzhy
2026-02-12 11:44 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox