xref: /openbmc/linux/drivers/platform/surface/Kconfig (revision c1cf3d89)
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	depends on ACPI
9	default y
10	help
11	  Say Y here to get to see options for platform-specific device drivers
12	  for Microsoft Surface devices. This option alone does not add any
13	  kernel code.
14
15	  If you say N, all options in this submenu will be skipped and disabled.
16
17if SURFACE_PLATFORMS
18
19config SURFACE3_WMI
20	tristate "Surface 3 WMI Driver"
21	depends on ACPI_WMI
22	depends on DMI
23	depends on INPUT
24	depends on SPI
25	help
26	  Say Y here if you have a Surface 3.
27
28	  To compile this driver as a module, choose M here: the module will
29	  be called surface3-wmi.
30
31config SURFACE_3_BUTTON
32	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
33	depends on KEYBOARD_GPIO && I2C
34	help
35	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
36
37config SURFACE_3_POWER_OPREGION
38	tristate "Surface 3 battery platform operation region support"
39	depends on I2C
40	help
41	  This driver provides support for ACPI operation
42	  region of the Surface 3 battery platform driver.
43
44config SURFACE_GPE
45	tristate "Surface GPE/Lid Support Driver"
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 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