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