]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Oct 2025 11:01:01 +0000 (13:01 +0200)
[ Upstream commit fba9d5448bd45b0ff7199c47023e9308ea4f1730 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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,
+       },
        {},
 };