From: Alexander Egorov Date: Tue, 19 May 2026 15:51:24 +0000 (+0300) Subject: platform/x86: oxpec: add support for OneXPlayer Super X X-Git-Tag: v7.2-rc1~61^2~54 X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=0b6573e23acc7bca808e539e3edea49683f106de;p=thirdparty%2Fkernel%2Flinux.git platform/x86: oxpec: add support for OneXPlayer Super X OneXPlayer Super X identifies itself via DMI as: board vendor: ONE-NETBOOK board name: ONEXPLAYER SUPER X product name: ONEXPLAYER SUPER X Current mainline oxpec does not contain a matching DMI entry for this system, so the in-tree driver is not auto-loaded. The tested Super X fan, PWM, turbo-toggle, and battery charge-control EC layout matches the existing ONEXPLAYER G1 A handling. Add a DMI match for OneXPlayer Super X and reuse the oxp_g1_a board data. Reviewed-by: Derek J Clark Reviewed-by: Antheas Kapenekakis Signed-off-by: Alexander Egorov Link: https://patch.msgid.link/20260519155124.3240359-1-begeebe@gmail.com Reviewed-by: Ilpo Järvinen Signed-off-by: Ilpo Järvinen --- diff --git a/drivers/platform/x86/oxpec.c b/drivers/platform/x86/oxpec.c index 6d4a53a2ed603..99c0dfcf393b7 100644 --- a/drivers/platform/x86/oxpec.c +++ b/drivers/platform/x86/oxpec.c @@ -205,6 +205,13 @@ static const struct dmi_system_id dmi_table[] = { }, .driver_data = (void *)oxp_g1_a, }, + { + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER SUPER X"), + }, + .driver_data = (void *)oxp_g1_a, + }, { .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),