platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support
PATCH 1/1 platform/x86: hp-wmi: Add OMEN board 8D40 thermal profile support
The HP OMEN Slim 16t-an000 (board ID: 8D40) uses the existing OMEN v1 WMI interface but does not use the standard EC thermal profile parameters.
Furthermore, it is the closest sibling of board 8D41 and 8D42, which are already included in the table with omen_v1_no_ec_board_params.
Add the DMI board name to hp_wmi_feature_boards[] and map it to omen_v1_no_ec_board_params.
This enables the existing board-specific handling for 8D40, including platform profile and fan control support.
Tested-by Otoniel Matute <[email protected]>
Signed-off-by Suryansh Singh <[email protected]>
--- drivers/platform/x86/hp/hp-wmi.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/platform/x86/hp/hp-wmi.c +4 -0
@@ -323,6 +323,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D26") }, .driver_data = (void *)&omen_v1_legacy_board_params, }, + { + .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D40") }, + .driver_data = (void *)&omen_v1_no_ec_board_params, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D41") }, .driver_data = (void *)&omen_v1_no_ec_board_params,
Signature · 1 line
2.55.0