xref: /linux/drivers/platform/x86/dell/Kconfig (revision 1193e205dbb6feca917dc8e1862ffcdf2194234b)
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 ACPI_WMI
22	depends on DMI
23	depends on LEDS_CLASS
24	depends on NEW_LEDS
25	depends on HWMON
26	help
27	 This is a driver for controlling Alienware WMI driven features.
28
29	 On legacy devices, it exposes an interface for controlling the AlienFX
30	 zones on Alienware machines that don't contain a dedicated
31	 AlienFX USB MCU such as the X51 and X51-R2.
32
33	 On newer devices, it exposes the AWCC thermal control interface through
34	 known Kernel APIs.
35
36config ALIENWARE_WMI_LEGACY
37	bool "Alienware Legacy WMI device driver"
38	default y
39	depends on ALIENWARE_WMI
40	help
41	 Legacy Alienware WMI driver with AlienFX LED control capabilities.
42
43config ALIENWARE_WMI_WMAX
44	bool "Alienware WMAX WMI device driver"
45	default y
46	depends on ALIENWARE_WMI
47	select ACPI_PLATFORM_PROFILE
48	help
49	 Alienware WMI driver with AlienFX LED, HDMI, amplifier, deep sleep and
50	 AWCC thermal control capabilities.
51
52config DCDBAS
53	tristate "Dell Systems Management Base Driver"
54	default m
55	depends on X86
56	help
57	  The Dell Systems Management Base Driver provides a sysfs interface
58	  for systems management software to perform System Management
59	  Interrupts (SMIs) and Host Control Actions (system power cycle or
60	  power off after OS shutdown) on certain Dell systems.
61
62	  See <file:Documentation/userspace-api/dcdbas.rst> for more details on the driver
63	  and the Dell systems on which Dell systems management software makes
64	  use of this driver.
65
66	  Say Y or M here to enable the driver for use by Dell systems
67	  management software such as Dell OpenManage.
68
69config DELL_LAPTOP
70	tristate "Dell Laptop Extras"
71	default m
72	depends on DMI
73	depends on BACKLIGHT_CLASS_DEVICE
74	depends on ACPI_BATTERY
75	depends on ACPI_VIDEO || ACPI_VIDEO = n
76	depends on RFKILL || RFKILL = n
77	depends on DELL_WMI || DELL_WMI = n
78	depends on SERIO_I8042
79	depends on DELL_SMBIOS
80	select POWER_SUPPLY
81	select LEDS_CLASS
82	select NEW_LEDS
83	help
84	This driver adds support for rfkill and backlight control to Dell
85	laptops (except for some models covered by the Compal driver).
86
87config DELL_RBU
88	tristate "BIOS update support for DELL systems via sysfs"
89	default m
90	depends on X86
91	select FW_LOADER
92	select FW_LOADER_USER_HELPER
93	help
94	 Say m if you want to have the option of updating the BIOS for your
95	 DELL system. Note you need a Dell OpenManage or Dell Update package (DUP)
96	 supporting application to communicate with the BIOS regarding the new
97	 image for the image update to take effect.
98	 See <file:Documentation/admin-guide/dell_rbu.rst> for more details on the driver.
99
100config DELL_RBTN
101	tristate "Dell Airplane Mode Switch driver"
102	default m
103	depends on ACPI
104	depends on INPUT
105	depends on RFKILL
106	help
107	  Say Y here if you want to support Dell Airplane Mode Switch ACPI
108	  device on Dell laptops. Sometimes it has names: DELLABCE or DELRBTN.
109	  This driver register rfkill device or input hotkey device depending
110	  on hardware type (hw switch slider or keyboard toggle button). For
111	  rfkill devices it receive HW switch events and set correct hard
112	  rfkill state.
113
114	  To compile this driver as a module, choose M here: the module will
115	  be called dell-rbtn.
116
117config DELL_PC
118	tristate "Dell PC Extras"
119	default m
120	depends on ACPI
121	depends on DMI
122	depends on DELL_SMBIOS
123	select ACPI_PLATFORM_PROFILE
124	help
125	This driver adds support for controlling the fan modes via platform_profile
126	on supported Dell systems regardless of formfactor.
127	Module will simply do nothing if thermal management commands are not
128	supported.
129
130#
131# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
132# backends are selected. The "depends" line prevents a configuration
133# where DELL_SMBIOS=y while either of those dependencies =m.
134#
135config DELL_SMBIOS
136	tristate "Dell SMBIOS driver"
137	default m
138	depends on DCDBAS || DCDBAS=n
139	depends on ACPI_WMI || ACPI_WMI=n
140	help
141	This provides support for the Dell SMBIOS calling interface.
142	If you have a Dell computer you should enable this option.
143
144	Be sure to select at least one backend for it to work properly.
145
146config DELL_SMBIOS_WMI
147	bool "Dell SMBIOS driver WMI backend"
148	default y
149	depends on ACPI_WMI
150	select DELL_WMI_DESCRIPTOR
151	depends on DELL_SMBIOS
152	help
153	This provides an implementation for the Dell SMBIOS calling interface
154	communicated over ACPI-WMI.
155
156	If you have a Dell computer from >2007 you should say Y here.
157	If you aren't sure and this module doesn't work for your computer
158	it just won't load.
159
160config DELL_SMBIOS_SMM
161	bool "Dell SMBIOS driver SMM backend"
162	default y
163	depends on DCDBAS
164	depends on DELL_SMBIOS
165	help
166	This provides an implementation for the Dell SMBIOS calling interface
167	communicated over SMI/SMM.
168
169	If you have a Dell computer from <=2017 you should say Y here.
170	If you aren't sure and this module doesn't work for your computer
171	it just won't load.
172
173config DELL_SMO8800
174	tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
175	default m if ACPI
176	depends on I2C
177	depends on ACPI || COMPILE_TEST
178	help
179	  Say Y here if you want to support SMO88XX freefall devices
180	  on Dell Latitude laptops.
181
182	  To compile this driver as a module, choose M here: the module will
183	  be called dell-smo8800.
184
185config DELL_UART_BACKLIGHT
186	tristate "Dell AIO UART Backlight driver"
187	depends on ACPI
188	depends on ACPI_VIDEO
189	depends on BACKLIGHT_CLASS_DEVICE
190	depends on SERIAL_DEV_BUS
191	help
192	  Say Y here if you want to support Dell AIO UART backlight interface.
193	  The Dell AIO machines released after 2017 come with a UART interface
194	  to communicate with the backlight scalar board. This driver creates
195	  a standard backlight interface and talks to the scalar board through
196	  UART to adjust the AIO screen brightness.
197
198	  To compile this driver as a module, choose M here: the module will
199	  be called dell_uart_backlight.
200
201config DELL_WMI
202	tristate "Dell WMI notifications"
203	default m
204	depends on ACPI_WMI
205	depends on DMI
206	depends on INPUT
207	depends on ACPI_VIDEO || ACPI_VIDEO = n
208	depends on DELL_SMBIOS
209	select DELL_WMI_DESCRIPTOR
210	select INPUT_SPARSEKMAP
211	help
212	  Say Y here if you want to support WMI-based hotkeys on Dell laptops.
213
214	  To compile this driver as a module, choose M here: the module will
215	  be called dell-wmi.
216
217config DELL_WMI_PRIVACY
218	bool "Dell WMI Hardware Privacy Support"
219	depends on DELL_WMI
220	depends on ACPI_EC
221	help
222	  This option adds integration with the "Dell Hardware Privacy"
223	  feature of Dell laptops to the dell-wmi driver.
224
225config DELL_WMI_AIO
226	tristate "WMI Hotkeys for Dell All-In-One series"
227	default m
228	depends on ACPI_WMI
229	depends on INPUT
230	select INPUT_SPARSEKMAP
231	help
232	  Say Y here if you want to support WMI-based hotkeys on Dell
233	  All-In-One machines.
234
235	  To compile this driver as a module, choose M here: the module will
236	  be called dell-wmi-aio.
237
238config DELL_WMI_DESCRIPTOR
239	tristate
240	default n
241	depends on ACPI_WMI
242
243config DELL_WMI_DDV
244	tristate "Dell WMI sensors Support"
245	default m
246	depends on ACPI_WMI
247	depends on ACPI_BATTERY || HWMON
248	help
249	  This option adds support for WMI-based fan and thermal sensors
250	  found on some Dell notebooks. It also supports various WMI-based battery
251	  extras like reading of the battery temperature and ePPID.
252
253	  To compile this drivers as a module, choose M here: the module will
254	  be called dell-wmi-ddv.
255
256config DELL_WMI_LED
257	tristate "External LED on Dell Business Netbooks"
258	default m
259	depends on LEDS_CLASS
260	depends on ACPI_WMI
261	help
262	  This adds support for the Latitude 2100 and similar
263	  notebooks that have an external LED.
264
265config DELL_WMI_SYSMAN
266	tristate "Dell WMI-based Systems management driver"
267	default m
268	depends on ACPI_WMI
269	depends on DMI
270	select NLS
271	select FW_ATTR_CLASS
272	help
273	  This driver allows changing BIOS settings on many Dell machines from
274	  2018 and newer without the use of any additional software.
275
276	  To compile this driver as a module, choose M here: the module will
277	  be called dell-wmi-sysman.
278
279endif # X86_PLATFORM_DRIVERS_DELL
280