xref: /linux/drivers/platform/x86/dell/Kconfig (revision 71dfa617ea9f18e4585fe78364217cd32b1fc382)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Dell X86 Platform Specific Drivers
4#
5
6menuconfig X86_PLATFORM_DRIVERS_DELL
7	bool "Dell X86 Platform Specific Device Drivers"
8	help
9	  Say Y here to get to see options for device drivers for various
10	  Dell x86 platforms, including vendor-specific laptop extension drivers.
11	  This option alone does not add any kernel code.
12
13	  If you say N, all options in this submenu will be skipped and disabled.
14
15if X86_PLATFORM_DRIVERS_DELL
16
17config ALIENWARE_WMI
18	tristate "Alienware Special feature control"
19	default m
20	depends on ACPI
21	depends on LEDS_CLASS
22	depends on NEW_LEDS
23	depends on ACPI_WMI
24	help
25	 This is a driver for controlling Alienware BIOS driven
26	 features.  It exposes an interface for controlling the AlienFX
27	 zones on Alienware machines that don't contain a dedicated AlienFX
28	 USB MCU such as the X51 and X51-R2.
29
30config DCDBAS
31	tristate "Dell Systems Management Base Driver"
32	default m
33	depends on X86
34	help
35	  The Dell Systems Management Base Driver provides a sysfs interface
36	  for systems management software to perform System Management
37	  Interrupts (SMIs) and Host Control Actions (system power cycle or
38	  power off after OS shutdown) on certain Dell systems.
39
40	  See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver
41	  and the Dell systems on which Dell systems management software makes
42	  use of this driver.
43
44	  Say Y or M here to enable the driver for use by Dell systems
45	  management software such as Dell OpenManage.
46
47config DELL_LAPTOP
48	tristate "Dell Laptop Extras"
49	default m
50	depends on DMI
51	depends on BACKLIGHT_CLASS_DEVICE
52	depends on ACPI_VIDEO || ACPI_VIDEO = n
53	depends on RFKILL || RFKILL = n
54	depends on DELL_WMI || DELL_WMI = n
55	depends on SERIO_I8042
56	depends on DELL_SMBIOS
57	select POWER_SUPPLY
58	select LEDS_CLASS
59	select NEW_LEDS
60	help
61	This driver adds support for rfkill and backlight control to Dell
62	laptops (except for some models covered by the Compal driver).
63
64config DELL_RBU
65	tristate "BIOS update support for DELL systems via sysfs"
66	default m
67	depends on X86
68	select FW_LOADER
69	select FW_LOADER_USER_HELPER
70	help
71	 Say m if you want to have the option of updating the BIOS for your
72	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
73	 supporting application to communicate with the BIOS regarding the new
74	 image for the image update to take effect.
75	 See <file:Documentation/admin-guide/dell_rbu.rst> for more details on the driver.
76
77config DELL_RBTN
78	tristate "Dell Airplane Mode Switch driver"
79	default m
80	depends on ACPI
81	depends on INPUT
82	depends on RFKILL
83	help
84	  Say Y here if you want to support Dell Airplane Mode Switch ACPI
85	  device on Dell laptops. Sometimes it has names: DELLABCE or DELRBTN.
86	  This driver register rfkill device or input hotkey device depending
87	  on hardware type (hw switch slider or keyboard toggle button). For
88	  rfkill devices it receive HW switch events and set correct hard
89	  rfkill state.
90
91	  To compile this driver as a module, choose M here: the module will
92	  be called dell-rbtn.
93
94#
95# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
96# backends are selected. The "depends" line prevents a configuration
97# where DELL_SMBIOS=y while either of those dependencies =m.
98#
99config DELL_SMBIOS
100	tristate "Dell SMBIOS driver"
101	default m
102	depends on DCDBAS || DCDBAS=n
103	depends on ACPI_WMI || ACPI_WMI=n
104	help
105	This provides support for the Dell SMBIOS calling interface.
106	If you have a Dell computer you should enable this option.
107
108	Be sure to select at least one backend for it to work properly.
109
110config DELL_SMBIOS_WMI
111	bool "Dell SMBIOS driver WMI backend"
112	default y
113	depends on ACPI_WMI
114	select DELL_WMI_DESCRIPTOR
115	depends on DELL_SMBIOS
116	help
117	This provides an implementation for the Dell SMBIOS calling interface
118	communicated over ACPI-WMI.
119
120	If you have a Dell computer from >2007 you should say Y here.
121	If you aren't sure and this module doesn't work for your computer
122	it just won't load.
123
124config DELL_SMBIOS_SMM
125	bool "Dell SMBIOS driver SMM backend"
126	default y
127	depends on DCDBAS
128	depends on DELL_SMBIOS
129	help
130	This provides an implementation for the Dell SMBIOS calling interface
131	communicated over SMI/SMM.
132
133	If you have a Dell computer from <=2017 you should say Y here.
134	If you aren't sure and this module doesn't work for your computer
135	it just won't load.
136
137config DELL_SMO8800
138	tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
139	default m
140	depends on ACPI || COMPILE_TEST
141	help
142	  Say Y here if you want to support SMO88XX freefall devices
143	  on Dell Latitude laptops.
144
145	  To compile this driver as a module, choose M here: the module will
146	  be called dell-smo8800.
147
148config DELL_WMI
149	tristate "Dell WMI notifications"
150	default m
151	depends on ACPI_WMI
152	depends on DMI
153	depends on INPUT
154	depends on ACPI_VIDEO || ACPI_VIDEO = n
155	depends on DELL_SMBIOS
156	select DELL_WMI_DESCRIPTOR
157	select INPUT_SPARSEKMAP
158	help
159	  Say Y here if you want to support WMI-based hotkeys on Dell laptops.
160
161	  To compile this driver as a module, choose M here: the module will
162	  be called dell-wmi.
163
164config DELL_WMI_PRIVACY
165	bool "Dell WMI Hardware Privacy Support"
166	depends on DELL_WMI
167	help
168	  This option adds integration with the "Dell Hardware Privacy"
169	  feature of Dell laptops to the dell-wmi driver.
170
171config DELL_WMI_AIO
172	tristate "WMI Hotkeys for Dell All-In-One series"
173	default m
174	depends on ACPI_WMI
175	depends on INPUT
176	select INPUT_SPARSEKMAP
177	help
178	  Say Y here if you want to support WMI-based hotkeys on Dell
179	  All-In-One machines.
180
181	  To compile this driver as a module, choose M here: the module will
182	  be called dell-wmi-aio.
183
184config DELL_WMI_DESCRIPTOR
185	tristate
186	default n
187	depends on ACPI_WMI
188
189config DELL_WMI_DDV
190	tristate "Dell WMI sensors Support"
191	default m
192	depends on ACPI_WMI
193	depends on ACPI_BATTERY || HWMON
194	help
195	  This option adds support for WMI-based fan and thermal sensors
196	  found on some Dell notebooks. It also supports various WMI-based battery
197	  extras like reading of the battery temperature and ePPID.
198
199	  To compile this drivers as a module, choose M here: the module will
200	  be called dell-wmi-ddv.
201
202config DELL_WMI_LED
203	tristate "External LED on Dell Business Netbooks"
204	default m
205	depends on LEDS_CLASS
206	depends on ACPI_WMI
207	help
208	  This adds support for the Latitude 2100 and similar
209	  notebooks that have an external LED.
210
211config DELL_WMI_SYSMAN
212	tristate "Dell WMI-based Systems management driver"
213	default m
214	depends on ACPI_WMI
215	depends on DMI
216	select NLS
217	select FW_ATTR_CLASS
218	help
219	  This driver allows changing BIOS settings on many Dell machines from
220	  2018 and newer without the use of any additional software.
221
222	  To compile this driver as a module, choose M here: the module will
223	  be called dell-wmi-sysman.
224
225endif # X86_PLATFORM_DRIVERS_DELL
226