]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / x86: Add PWM2 on the Xiaomi Mi Pad 2 to the always_present list
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Nov 2021 17:05:34 +0000 (18:05 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 1 Dec 2021 19:14:25 +0000 (20:14 +0100)
commit811d82a4e5a6145c12f1b6d5fda3715e696e6633
tree730fd1d7533a496e760e2abe2c170b62fbdfc0a7
parentfa154472d1bf4c085dd9c147ac318e300cd34f06
ACPI / x86: Add PWM2 on the Xiaomi Mi Pad 2 to the always_present list

The Xiaomi Mi Pad 2 has backlit LEDs behind the capacitive menu, home
and back buttons below the screen which are controlled by the PWM2
controller of the CHT SoC. This PWM2 controller gets hidden by the
firmware, add it to the always_present_ids table so that we can use
the PWM controller to control the backlighting of the buttons.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c