]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-5.15/platform-x86-touchscreen_dmi-add-an-extra-entry-for-.patch
Fixes for 5.15
[thirdparty/kernel/stable-queue.git] / queue-5.15 / platform-x86-touchscreen_dmi-add-an-extra-entry-for-.patch
1 From 706eea591f4a21b6042d4626603a215ed4acbce1 Mon Sep 17 00:00:00 2001
2 From: Sasha Levin <sashal@kernel.org>
3 Date: Tue, 27 Feb 2024 22:40:17 +0000
4 Subject: platform/x86: touchscreen_dmi: Add an extra entry for a variant of
5 the Chuwi Vi8 tablet
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 From: Alban Boyé <alban.boye@protonmail.com>
11
12 [ Upstream commit 1266e2efb7512dbf20eac820ca2ed34de6b1c3e7 ]
13
14 Signed-off-by: Alban Boyé <alban.boye@protonmail.com>
15 Link: https://lore.kernel.org/r/20240227223919.11587-1-alban.boye@protonmail.com
16 Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
17 Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
18 Signed-off-by: Sasha Levin <sashal@kernel.org>
19 ---
20 drivers/platform/x86/touchscreen_dmi.c | 9 +++++++++
21 1 file changed, 9 insertions(+)
22
23 diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c
24 index 08a9b802be712..161bd19441042 100644
25 --- a/drivers/platform/x86/touchscreen_dmi.c
26 +++ b/drivers/platform/x86/touchscreen_dmi.c
27 @@ -1153,6 +1153,15 @@ const struct dmi_system_id touchscreen_dmi_table[] = {
28 DMI_MATCH(DMI_BIOS_VERSION, "CHUWI.D86JLBNR"),
29 },
30 },
31 + {
32 + /* Chuwi Vi8 dual-boot (CWI506) */
33 + .driver_data = (void *)&chuwi_vi8_data,
34 + .matches = {
35 + DMI_MATCH(DMI_SYS_VENDOR, "Insyde"),
36 + DMI_MATCH(DMI_PRODUCT_NAME, "i86"),
37 + DMI_MATCH(DMI_BIOS_VERSION, "CHUWI2.D86JHBNR02"),
38 + },
39 + },
40 {
41 /* Chuwi Vi8 Plus (CWI519) */
42 .driver_data = (void *)&chuwi_vi8_plus_data,
43 --
44 2.43.0
45