summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Egorov <begeebe@gmail.com>2026-05-19 18:51:24 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-06-09 10:34:48 +0300
commit0b6573e23acc7bca808e539e3edea49683f106de (patch)
treec74c31bb6d50465003be1621954a1ea76bc4d126
parenta167ae8eace52dd6c80438b77d92450fe12cd4be (diff)
downloadlinux-stable-0b6573e23acc7bca808e539e3edea49683f106de.tar.gz
linux-stable-0b6573e23acc7bca808e539e3edea49683f106de.zip
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 <derekjohn.clark@gmail.com> Reviewed-by: Antheas Kapenekakis <lkml@antheas.dev> Signed-off-by: Alexander Egorov <begeebe@gmail.com> Link: https://patch.msgid.link/20260519155124.3240359-1-begeebe@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
-rw-r--r--drivers/platform/x86/oxpec.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/oxpec.c b/drivers/platform/x86/oxpec.c
index 6d4a53a2ed60..99c0dfcf393b 100644
--- a/drivers/platform/x86/oxpec.c
+++ b/drivers/platform/x86/oxpec.c
@@ -208,6 +208,13 @@ static const struct dmi_system_id dmi_table[] = {
{
.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"),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER G1 i"),
},
.driver_data = (void *)oxp_g1_i,