xref: /linux/include/linux/platform_data/x86/asus-wmi-leds-ids.h (revision 9d588a1140b9ae211581a7a154d0b806d8cd8238)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H
3 #define __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H
4 
5 #include <linux/dmi.h>
6 #include <linux/types.h>
7 
8 /* To be used by both hid-asus and asus-wmi to determine which controls kbd_brightness */
9 #if IS_REACHABLE(CONFIG_ASUS_WMI) || IS_REACHABLE(CONFIG_HID_ASUS)
10 static const struct dmi_system_id asus_use_hid_led_dmi_ids[] = {
11 	{
12 		.matches = {
13 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Zephyrus"),
14 		},
15 	},
16 	{
17 		.matches = {
18 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Strix"),
19 		},
20 	},
21 	{
22 		.matches = {
23 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ROG Flow"),
24 		},
25 	},
26 	{
27 		.matches = {
28 			DMI_MATCH(DMI_PRODUCT_FAMILY, "ProArt P16"),
29 		},
30 	},
31 	{
32 		.matches = {
33 			DMI_MATCH(DMI_BOARD_NAME, "GA403U"),
34 		},
35 	},
36 	{
37 		.matches = {
38 			DMI_MATCH(DMI_BOARD_NAME, "GU605M"),
39 		},
40 	},
41 	{
42 		.matches = {
43 			DMI_MATCH(DMI_BOARD_NAME, "RC71L"),
44 		},
45 	},
46 	{ },
47 };
48 #endif
49 
50 #endif	/* __PLATFORM_DATA_X86_ASUS_WMI_LEDS_IDS_H */
51