]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: oxpec: Add support for OneXPlayer X1Pro EVA-02
authorAntheas Kapenekakis <lkml@antheas.dev>
Thu, 4 Sep 2025 13:22:51 +0000 (15:22 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 10 Sep 2025 11:21:09 +0000 (14:21 +0300)
It is a special edition of X1Pro with a different color.

Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://patch.msgid.link/20250904132252.3041613-1-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 eb076bb4099bed4b23e5020c4dd194199de950cb..4f540a9932fe1d2e6c6ed46622aa1911949add13 100644 (file)
@@ -306,6 +306,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 X1Pro EVA-02"),
+               },
+               .driver_data = (void *)oxp_x1,
+       },
        {},
 };