Skip to contentSkip to conversation

platform/x86: oxpec: Add support for OneXPlayer X2 Mini Pro

PATCH In review Jeff Hagadorn 3 participants 3 messages Aug 5 – Aug 18

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: oxpec: Add support for OneXPlayer X2 Mini Pro

OneXPlayer X2 Mini Pro is a new Strix Halo handheld. It ships the same system board as the OneXPlayer APEX and uses the same registers as the OneXPlayer Fly devices. Add a quirk for it to the oxpec driver.

---
 drivers/platform/x86/oxpec.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/oxpec.c +7 -0
index 99c0dfc..34bb17f 100644
@@ -289,6 +289,13 @@ static const struct dmi_system_id dmi_table[] = {
 		},
 		.driver_data = (void *)oxp_x1,
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
+			DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER X2Mini PRO"),
+		},
+		.driver_data = (void *)oxp_fly,
+	},
 	{},
 };
 
Signature · 3 lines
2.55.0

base-commit: aca39607c1734ed976fdd65deb75b3555a5a0326
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jeff Hagadorn

OneXPlayer X2 Mini Pro is a new Strix Halo handheld. It ships the same system board as the OneXPlayer APEX and uses the same registers as the OneXPlayer Fly devices. Add a quirk for it to the oxpec driver.

Quoted 28 lines
---
 drivers/platform/x86/oxpec.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/oxpec.c +7 -1
index 99c0dfc..34bb17f 100644
@@ -289,6 +289,13 @@ static const struct dmi_system_id dmi_table[] = {
                },
                .driver_data = (void *)oxp_x1,
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
+                       DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER X2Mini PRO"),
+               },
+               .driver_data = (void *)oxp_fly,
+       },
        {},
 };
 
--

2.55.0

base-commit: aca39607c1734ed976fdd65deb75b3555a5a0326

maintainer
#2 lore raw
In reply to Jeff Hagadorn
Quoted 3 lines · Jeff Hagadorn

OneXPlayer X2 Mini Pro is a new Strix Halo handheld. It ships the same system board as the OneXPlayer APEX and uses the same registers as the OneXPlayer Fly devices. Add a quirk for it to the oxpec driver.

Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.

The list of commits applied:
[1/1] platform/x86: oxpec: Add support for OneXPlayer X2 Mini Pro

      commit: 01c5087a0c419bee90372091333c214fc08e90e3

--
i.