xref: /linux/drivers/platform/x86/dell/Kconfig (revision 32121e158449f0b6d6ab6b2e63b22d9d80471563)
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
94config DELL_PC
95	tristate "Dell PC Extras"
96	default m
97	depends on ACPI
98	depends on DMI
99	depends on DELL_SMBIOS
100	select ACPI_PLATFORM_PROFILE
101	help
102	This driver adds support for controlling the fan modes via platform_profile
103	on supported Dell systems regardless of formfactor.
104	Module will simply do nothing if thermal management commands are not
105	supported.
106
107#
108# The DELL_SMBIOS driver depends on ACPI_WMI and/or DCDBAS if those
109# backends are selected. The "depends" line prevents a configuration
110# where DELL_SMBIOS=y while either of those dependencies =m.
111#
112config DELL_SMBIOS
113	tristate "Dell SMBIOS driver"
114	default m
115	depends on DCDBAS || DCDBAS=n
116	depends on ACPI_WMI || ACPI_WMI=n
117	help
118	This provides support for the Dell SMBIOS calling interface.
119	If you have a Dell computer you should enable this option.
120
121	Be sure to select at least one backend for it to work properly.
122
123config DELL_SMBIOS_WMI
124	bool "Dell SMBIOS driver WMI backend"
125	default y
126	depends on ACPI_WMI
127	select DELL_WMI_DESCRIPTOR
128	depends on DELL_SMBIOS
129	help
130	This provides an implementation for the Dell SMBIOS calling interface
131	communicated over ACPI-WMI.
132
133	If you have a Dell computer from >2007 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_SMBIOS_SMM
138	bool "Dell SMBIOS driver SMM backend"
139	default y
140	depends on DCDBAS
141	depends on DELL_SMBIOS
142	help
143	This provides an implementation for the Dell SMBIOS calling interface
144	communicated over SMI/SMM.
145
146	If you have a Dell computer from <=2017 you should say Y here.
147	If you aren't sure and this module doesn't work for your computer
148	it just won't load.
149
150config DELL_SMO8800
151	tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
152	default m
153	depends on ACPI || COMPILE_TEST
154	help
155	  Say Y here if you want to support SMO88XX freefall devices
156	  on Dell Latitude laptops.
157
158	  To compile this driver as a module, choose M here: the module will
159	  be called dell-smo8800.
160
161config DELL_UART_BACKLIGHT
162	tristate "Dell AIO UART Backlight driver"
163	depends on ACPI
164	depends on BACKLIGHT_CLASS_DEVICE
165	depends on SERIAL_DEV_BUS
166	help
167	  Say Y here if you want to support Dell AIO UART backlight interface.
168	  The Dell AIO machines released after 2017 come with a UART interface
169	  to communicate with the backlight scalar board. This driver creates
170	  a standard backlight interface and talks to the scalar board through
171	  UART to adjust the AIO screen brightness.
172
173	  To compile this driver as a module, choose M here: the module will
174	  be called dell_uart_backlight.
175
176config DELL_WMI
177	tristate "Dell WMI notifications"
178	default m
179	depends on ACPI_WMI
180	depends on DMI
181	depends on INPUT
182	depends on ACPI_VIDEO || ACPI_VIDEO = n
183	depends on DELL_SMBIOS
184	select DELL_WMI_DESCRIPTOR
185	select INPUT_SPARSEKMAP
186	help
187	  Say Y here if you want to support WMI-based hotkeys on Dell laptops.
188
189	  To compile this driver as a module, choose M here: the module will
190	  be called dell-wmi.
191
192config DELL_WMI_PRIVACY
193	bool "Dell WMI Hardware Privacy Support"
194	depends on DELL_WMI
195	help
196	  This option adds integration with the "Dell Hardware Privacy"
197	  feature of Dell laptops to the dell-wmi driver.
198
199config DELL_WMI_AIO
200	tristate "WMI Hotkeys for Dell All-In-One series"
201	default m
202	depends on ACPI_WMI
203	depends on INPUT
204	select INPUT_SPARSEKMAP
205	help
206	  Say Y here if you want to support WMI-based hotkeys on Dell
207	  All-In-One machines.
208
209	  To compile this driver as a module, choose M here: the module will
210	  be called dell-wmi-aio.
211
212config DELL_WMI_DESCRIPTOR
213	tristate
214	default n
215	depends on ACPI_WMI
216
217config DELL_WMI_DDV
218	tristate "Dell WMI sensors Support"
219	default m
220	depends on ACPI_WMI
221	depends on ACPI_BATTERY || HWMON
222	help
223	  This option adds support for WMI-based fan and thermal sensors
224	  found on some Dell notebooks. It also supports various WMI-based battery
225	  extras like reading of the battery temperature and ePPID.
226
227	  To compile this drivers as a module, choose M here: the module will
228	  be called dell-wmi-ddv.
229
230config DELL_WMI_LED
231	tristate "External LED on Dell Business Netbooks"
232	default m
233	depends on LEDS_CLASS
234	depends on ACPI_WMI
235	help
236	  This adds support for the Latitude 2100 and similar
237	  notebooks that have an external LED.
238
239config DELL_WMI_SYSMAN
240	tristate "Dell WMI-based Systems management driver"
241	default m
242	depends on ACPI_WMI
243	depends on DMI
244	select NLS
245	select FW_ATTR_CLASS
246	help
247	  This driver allows changing BIOS settings on many Dell machines from
248	  2018 and newer without the use of any additional software.
249
250	  To compile this driver as a module, choose M here: the module will
251	  be called dell-wmi-sysman.
252
253endif # X86_PLATFORM_DRIVERS_DELL
254