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