]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: hp-wmi: Add fan and thermal profile support for Victus 16-s1000
authorJulien ROBIN <julien.robin28@free.fr>
Thu, 16 Jan 2025 22:20:23 +0000 (23:20 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 20 Jan 2025 12:13:14 +0000 (14:13 +0200)
commit6e4ab59b8391a248398951035b544f97fe5d9dc3
treebc6dd65eaa1f6619e2a232f85a98632b83337fc8
parent0025d83a3c201d0f1cda1085a3847591af563ec2
platform/x86: hp-wmi: Add fan and thermal profile support for Victus 16-s1000

The following patch adds support for HP Victus 16-s1000 laptop series,
by adding and fixing the following functionalities, which can be
accessed through hwmon and platform_profile sysfs:

 - Functional measured fan speed reading
 - Ability to enable and disable maximum fan speed
 - Platform profiles full setting ability for CPU and GPU

It sets appropriates CPU and GPU power settings both on AC and battery
power sources, for low-power, balanced and performance modes.

It has been thoroughly tested on a 16-s1034nf laptop based on a 8C9C DMI
board name, and behavior of the driver on previous boards is left
untouched thanks to the separated lists of DMI board names.

Signed-off-by: Julien ROBIN <julien.robin28@free.fr>
Link: https://lore.kernel.org/r/1c00f906-8500-41d5-be80-f9092b6a49f1@free.fr
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-wmi.c