platform/x86: acer-wmi: Add platform profile and mode key support for Predator PHN16-71
authorSungHwan Jung <onenowy@gmail.com>
Fri, 24 Nov 2023 09:41:18 +0000 (18:41 +0900)
committerHans de Goede <hdegoede@redhat.com>
Sat, 2 Dec 2023 11:27:05 +0000 (12:27 +0100)
commit6bb5153dfbaf88fa4b40ef50b706d2fb186ed92e
tree18bd5fddb060f97c4ea4d7984ab8f57b250752d0
parent3ecb4d85461a34323a849769030841533fcd0395
platform/x86: acer-wmi: Add platform profile and mode key support for Predator PHN16-71

The Acer Predator PHN16-71 has the mode key that is used to rotate thermal
modes or toggle turbo mode with predator sense app (ver. 4) on windows.

This patch includes platform profile and the mode key support for the
device and also includes a small fix for "WMI_gaming_execute_u64"
function.

Signed-off-by: SungHwan Jung <onenowy@gmail.com>
Link: https://lore.kernel.org/r/20231124094122.100707-2-onenowy@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/acer-wmi.c