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