]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: oxpec: Add support for OneXPlayer X1 Mini Pro (Strix Point)
authorAntheas Kapenekakis <lkml@antheas.dev>
Fri, 18 Jul 2025 16:33:05 +0000 (18:33 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Jul 2025 14:45:37 +0000 (17:45 +0300)
The OneXPlayer X1 Mini Pro (which is the Strix Point variant of the Mini)
uses the same registers as the X1 Mini, so re-use the quirk.

Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250718163305.159232-2-lkml@antheas.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/oxpec.c

index 9839e8cb82ce4c6fff9088fbffca50cf8b0ecb4f..eb076bb4099bed4b23e5020c4dd194199de950cb 100644 (file)
@@ -292,6 +292,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 X1Mini Pro"),
+               },
+               .driver_data = (void *)oxp_x1,
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),