All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Egorov <begeebe@gmail.com>
To: platform-driver-x86@vger.kernel.org
Cc: ilpo.jarvinen@linux.intel.com, lkml@antheas.dev,
	derekjohn.clark@gmail.com, samsagax@gmail.com
Subject: [PATCH v3] platform/x86: oxpec: add support for OneXPlayer Super X
Date: Tue, 19 May 2026 18:51:24 +0300	[thread overview]
Message-ID: <20260519155124.3240359-1-begeebe@gmail.com> (raw)
In-Reply-To: <20260330101028.876277-1-begeebe@gmail.com>

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>
---
Changes in v3:
- Reuse oxp_g1_a instead of adding a dedicated oxp_superx board id.
- Add Derek's Reviewed-by tag.
- Add Antheas' Reviewed-by tag.
- Use consistent submitter identity.

 drivers/platform/x86/oxpec.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/platform/x86/oxpec.c b/drivers/platform/x86/oxpec.c
index 6d4a53a..99c0dfc 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"),
-- 
2.54.0

  parent reply	other threads:[~2026-05-19 15:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-29 21:53 [PATCH] platform/x86: oxpec: add support for OneXPlayer Super X Alexander Egorov
2026-03-29 22:33 ` Derek J. Clark
2026-03-30  7:04 ` Antheas Kapenekakis
2026-03-30 10:10 ` [PATCH v2] " Alexander Egorov
2026-04-01  8:13   ` Antheas Kapenekakis
2026-05-19 15:51   ` Alexander Egorov [this message]
2026-05-19 15:56     ` [PATCH v3] " Antheas Kapenekakis
2026-04-06 10:25 ` [PATCH v3] Remove outdated upstream contact note Alexander Egorov
2026-05-26 17:32   ` Ilpo Järvinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260519155124.3240359-1-begeebe@gmail.com \
    --to=begeebe@gmail.com \
    --cc=derekjohn.clark@gmail.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=lkml@antheas.dev \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=samsagax@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.