xref: /linux/drivers/platform/surface/Kconfig (revision c167b9c7e3d6131b4a4865c112a3dbc86d2e997d)
11e3a2bc8SMaximilian Luz# SPDX-License-Identifier: GPL-2.0-only
21e3a2bc8SMaximilian Luz#
31e3a2bc8SMaximilian Luz# Microsoft Surface Platform-Specific Drivers
41e3a2bc8SMaximilian Luz#
51e3a2bc8SMaximilian Luz
61e3a2bc8SMaximilian Luzmenuconfig SURFACE_PLATFORMS
71e3a2bc8SMaximilian Luz	bool "Microsoft Surface Platform-Specific Device Drivers"
8e4a02c7aSGeert Uytterhoeven	depends on ACPI
91e3a2bc8SMaximilian Luz	default y
101e3a2bc8SMaximilian Luz	help
111e3a2bc8SMaximilian Luz	  Say Y here to get to see options for platform-specific device drivers
121e3a2bc8SMaximilian Luz	  for Microsoft Surface devices. This option alone does not add any
131e3a2bc8SMaximilian Luz	  kernel code.
141e3a2bc8SMaximilian Luz
151e3a2bc8SMaximilian Luz	  If you say N, all options in this submenu will be skipped and disabled.
16f23027caSMaximilian Luz
17f23027caSMaximilian Luzif SURFACE_PLATFORMS
18f23027caSMaximilian Luz
19f23027caSMaximilian Luzconfig SURFACE3_WMI
20f23027caSMaximilian Luz	tristate "Surface 3 WMI Driver"
21f23027caSMaximilian Luz	depends on ACPI_WMI
22f23027caSMaximilian Luz	depends on DMI
23f23027caSMaximilian Luz	depends on INPUT
24f23027caSMaximilian Luz	depends on SPI
25f23027caSMaximilian Luz	help
26f23027caSMaximilian Luz	  Say Y here if you have a Surface 3.
27f23027caSMaximilian Luz
28f23027caSMaximilian Luz	  To compile this driver as a module, choose M here: the module will
29f23027caSMaximilian Luz	  be called surface3-wmi.
30f23027caSMaximilian Luz
314df56c36SMaximilian Luzconfig SURFACE_3_BUTTON
324df56c36SMaximilian Luz	tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
33e4a02c7aSGeert Uytterhoeven	depends on KEYBOARD_GPIO && I2C
344df56c36SMaximilian Luz	help
354df56c36SMaximilian Luz	  This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
364df56c36SMaximilian Luz
3785f7582cSMaximilian Luzconfig SURFACE_3_POWER_OPREGION
3885f7582cSMaximilian Luz	tristate "Surface 3 battery platform operation region support"
39e4a02c7aSGeert Uytterhoeven	depends on I2C
4085f7582cSMaximilian Luz	help
4185f7582cSMaximilian Luz	  This driver provides support for ACPI operation
4285f7582cSMaximilian Luz	  region of the Surface 3 battery platform driver.
4385f7582cSMaximilian Luz
44274335f1SMaximilian Luzconfig SURFACE_GPE
45274335f1SMaximilian Luz	tristate "Surface GPE/Lid Support Driver"
46274335f1SMaximilian Luz	depends on DMI
47274335f1SMaximilian Luz	help
48274335f1SMaximilian Luz	  This driver marks the GPEs related to the ACPI lid device found on
49274335f1SMaximilian Luz	  Microsoft Surface devices as wakeup sources and prepares them
50274335f1SMaximilian Luz	  accordingly. It is required on those devices to allow wake-ups from
51274335f1SMaximilian Luz	  suspend by opening the lid.
52274335f1SMaximilian Luz
53411269baSMaximilian Luzconfig SURFACE_PRO3_BUTTON
54411269baSMaximilian Luz	tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
55e4a02c7aSGeert Uytterhoeven	depends on INPUT
56411269baSMaximilian Luz	help
57411269baSMaximilian Luz	  This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.
58411269baSMaximilian Luz
59*c167b9c7SMaximilian Luzsource "drivers/platform/surface/aggregator/Kconfig"
60*c167b9c7SMaximilian Luz
61f23027caSMaximilian Luzendif # SURFACE_PLATFORMS
62