[PATCH] platform/x86: hp-wmi: Add OMEN board 8D42 thermal profile support
Suryansh Singh <[email protected]>
| Newsgroups | org.kernel.vger.platform-driver-x86,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The HP OMEN MAX 16-ah0xxx (board ID: 8D42) 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, which is 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 8D42, including platform profile and fan control support. Link: https://github.com/yunusemreyl/OmenCtl/issues/93 Signed-off-by: Suryansh Singh <[email protected]> --- drivers/platform/x86/hp/hp-wmi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/platform/x86/hp/hp-wmi.c b/drivers/platform/x86/hp/hp-wmi.c index 68ea52045a5d..6ecc033e5af3 100644 --- a/drivers/platform/x86/hp/hp-wmi.c +++ b/drivers/platform/x86/hp/hp-wmi.c @@ -327,6 +327,10 @@ static const struct dmi_system_id hp_wmi_feature_boards[] __initconst = { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D41") }, .driver_data = (void *)&omen_v1_no_ec_board_params, }, + { + .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D42") }, + .driver_data = (void *)&omen_v1_no_ec_board_params, + }, { .matches = { DMI_MATCH(DMI_BOARD_NAME, "8D87") }, .driver_data = (void *)&omen_v1_no_ec_board_params, -- 2.55.0