xref: /openbmc/linux/drivers/platform/surface/Kconfig (revision 0d3b051a)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Microsoft Surface Platform-Specific Drivers
4#
5
6menuconfig SURFACE_PLATFORMS
7	bool "Microsoft Surface Platform-Specific Device Drivers"
8	default y
9	help
10	  Say Y here to get to see options for platform-specific device drivers
11	  for Microsoft Surface devices. This option alone does not add any
12	  kernel code.
13
14	  If you say N, all options in this submenu will be skipped and disabled.
15
16if SURFACE_PLATFORMS
17
18config SURFACE3_WMI
19	tristate "Surface 3 WMI Driver"
20	depends on ACPI_WMI
21	depends on DMI
22	depends on INPUT
23	depends on SPI
24	help
25	  Say Y here if you have a Surface 3.
26
27	  To compile this driver as a module, choose M here: the module will
28	  be called surface3-wmi.
29
30config SURFACE_3_BUTTON
31	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
32	depends on ACPI && KEYBOARD_GPIO && I2C
33	help
34	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
35
36config SURFACE_3_POWER_OPREGION
37	tristate "Surface 3 battery platform operation region support"
38	depends on ACPI && I2C
39	help
40	  This driver provides support for ACPI operation
41	  region of the Surface 3 battery platform driver.
42
43config SURFACE_GPE
44	tristate "Surface GPE/Lid Support Driver"
45	depends on ACPI
46	depends on DMI
47	help
48	  This driver marks the GPEs related to the ACPI lid device found on
49	  Microsoft Surface devices as wakeup sources and prepares them
50	  accordingly. It is required on those devices to allow wake-ups from
51	  suspend by opening the lid.
52
53config SURFACE_PRO3_BUTTON
54	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
55	depends on ACPI && INPUT
56	help
57	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
58
59endif # SURFACE_PLATFORMS
60