Skip to contentSkip to conversation

platform/x86: hp-wmi: Add Omen 16-wf0xxx fan and thermal support

PATCH In review Krishna Chomal 2 participants 2 messages Feb 16 – Feb 23 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: hp-wmi: Add Omen 16-wf0xxx fan and thermal support

The HP Omen 16-wf0xxx (board ID: 8BAB) has the same WMI interface as other Victus S boards, but requires quirks for correctly switching thermal profile (similar to HP Omen 16-wf1xxx, board ID: 8C78).

Add the DMI board name to victus_s_thermal_profile_boards[] table and map it to omen_v1_thermal_params.

Testing on HP Omen 16-wf0xxx confirmed that platform profile is registered successfully and fan RPMs are readable and controllable.

---
This completes the earlier patch from Noah Provenzano [1]. Thermal profile quirk handling was added in 8ca7515d3c76, and now addition of "8BAB" in victus_s_thermal_profile_boards[] list completes the mentioned patch cleanly.

[1] https://patchwork.kernel.org/project/platform-driver-x86/patch/[email protected]/

---
 drivers/platform/x86/hp/hp-wmi.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/platform/x86/hp/hp-wmi.c +4 -0
index 304d9ac63c8a..6a1b454baaee 100644
@@ -173,6 +173,10 @@ static const char * const victus_thermal_profile_boards[] = {
 
 /* DMI Board names of Victus 16-r and Victus 16-s laptops */
 static const struct dmi_system_id victus_s_thermal_profile_boards[] __initconst = {
+	{
+		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BAB") },
+		.driver_data = (void *)&omen_v1_thermal_params,
+	},
 	{
 		.matches = { DMI_MATCH(DMI_BOARD_NAME, "8BBE") },
 		.driver_data = (void *)&victus_s_thermal_params,
Signature · 1 line
2.52.0
maintainer
#1 lore raw
Quoted 8 lines · Krishna Chomal

The HP Omen 16-wf0xxx (board ID: 8BAB) has the same WMI interface as other Victus S boards, but requires quirks for correctly switching thermal profile (similar to HP Omen 16-wf1xxx, board ID: 8C78).

Add the DMI board name to victus_s_thermal_profile_boards[] table and map it to omen_v1_thermal_params.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: hp-wmi: Add Omen 16-wf0xxx fan and thermal support

      commit: 13fa3aaf02edaad9b41fc61d7f6326d2b6a4bf80

--
i.