xref: /openbmc/linux/drivers/platform/x86/intel/Kconfig (revision 9745fb07)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Intel x86 Platform Specific Drivers
4#
5
6source "drivers/platform/x86/intel/atomisp2/Kconfig"
7source "drivers/platform/x86/intel/ifs/Kconfig"
8source "drivers/platform/x86/intel/int1092/Kconfig"
9source "drivers/platform/x86/intel/int3472/Kconfig"
10source "drivers/platform/x86/intel/pmc/Kconfig"
11source "drivers/platform/x86/intel/pmt/Kconfig"
12source "drivers/platform/x86/intel/speed_select_if/Kconfig"
13source "drivers/platform/x86/intel/telemetry/Kconfig"
14source "drivers/platform/x86/intel/wmi/Kconfig"
15source "drivers/platform/x86/intel/uncore-frequency/Kconfig"
16
17
18config INTEL_HID_EVENT
19	tristate "Intel HID Event"
20	depends on ACPI
21	depends on INPUT
22	depends on I2C
23	select INPUT_SPARSEKMAP
24	help
25	  This driver provides support for the Intel HID Event hotkey interface.
26	  Some laptops require this driver for hotkey support.
27
28	  To compile this driver as a module, choose M here: the module will
29	  be called intel_hid.
30
31config INTEL_VBTN
32	tristate "Intel Virtual Button"
33	depends on ACPI
34	depends on INPUT
35	depends on I2C
36	select INPUT_SPARSEKMAP
37	help
38	  This driver provides support for the Intel Virtual Button interface.
39	  Some laptops require this driver for power button support.
40
41	  To compile this driver as a module, choose M here: the module will
42	  be called intel_vbtn.
43
44config INTEL_INT0002_VGPIO
45	tristate "Intel ACPI INT0002 Virtual GPIO driver"
46	depends on GPIOLIB && ACPI && PM_SLEEP
47	select GPIOLIB_IRQCHIP
48	help
49	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
50	  Power Management Event (PME) to the Power Management Controller (PMC)
51	  to wakeup the system. When this happens software needs to explicitly
52	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
53	  IRQ storm on IRQ 9.
54
55	  This is modelled in ACPI through the INT0002 ACPI device, which is
56	  called a "Virtual GPIO controller" in ACPI because it defines the
57	  event handler to call when the PME triggers through _AEI and _L02
58	  methods as would be done for a real GPIO interrupt in ACPI.
59
60	  To compile this driver as a module, choose M here: the module will
61	  be called intel_int0002_vgpio.
62
63config INTEL_OAKTRAIL
64	tristate "Intel Oaktrail Platform Extras"
65	depends on ACPI
66	depends on ACPI_VIDEO || ACPI_VIDEO=n
67	depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
68	help
69	  Intel Oaktrail platform need this driver to provide interfaces to
70	  enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
71	  here; it will only load on supported platforms.
72
73config P2SB
74	bool "Primary to Sideband (P2SB) bridge access support"
75	depends on PCI
76	help
77	  The Primary to Sideband (P2SB) bridge is an interface to some
78	  PCI devices connected through it. In particular, SPI NOR controller
79	  in Intel Apollo Lake SoC is one of such devices.
80
81	  The main purpose of this library is to unhide P2SB device in case
82	  firmware kept it hidden on some platforms in order to access devices
83	  behind it.
84
85config INTEL_BXTWC_PMIC_TMU
86	tristate "Intel Broxton Whiskey Cove TMU Driver"
87	depends on INTEL_SOC_PMIC_BXTWC
88	depends on MFD_INTEL_PMC_BXT
89	select REGMAP
90	help
91	  Select this driver to use Intel Broxton Whiskey Cove PMIC TMU feature.
92	  This driver enables the alarm wakeup functionality in the TMU unit of
93	  Whiskey Cove PMIC.
94
95config INTEL_CHTDC_TI_PWRBTN
96	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
97	depends on INTEL_SOC_PMIC_CHTDC_TI
98	depends on INPUT
99	help
100	  This option adds a power button driver for Dollar Cove TI
101	  PMIC on Intel Cherry Trail devices.
102
103	  To compile this driver as a module, choose M here: the module
104	  will be called intel_chtdc_ti_pwrbtn.
105
106config INTEL_CHTWC_INT33FE
107	tristate "Intel Cherry Trail Whiskey Cove ACPI INT33FE Driver"
108	depends on X86 && ACPI && I2C && REGULATOR
109	depends on CHARGER_BQ24190=y || (CHARGER_BQ24190=m && m)
110	depends on USB_ROLES_INTEL_XHCI=y || (USB_ROLES_INTEL_XHCI=m && m)
111	depends on TYPEC_MUX_PI3USB30532=y || (TYPEC_MUX_PI3USB30532=m && m)
112	help
113	  This driver add support for the Intel Cherry Trail Whiskey Cove
114	  INT33FE ACPI device found on the GPD win and the GPD pocket.
115
116	  The INT33FE ACPI device on these mini laptops contains I2cSerialBusV2
117	  resources for a MAX17042 Fuel Gauge, FUSB302 USB Type-C Controller
118	  and PI3USB30532 USB switch.
119	  This driver instantiates i2c-clients for these, so that standard
120	  i2c drivers for these chips can bind to the them.
121
122	  If you enable this driver it is advised to also select
123	  CONFIG_TYPEC_FUSB302=m, CONFIG_TYPEC_MUX_PI3USB30532=m and
124	  CONFIG_BATTERY_MAX17042=m.
125
126config INTEL_ISHTP_ECLITE
127	tristate "Intel ISHTP eclite controller Driver"
128	depends on INTEL_ISH_HID
129	depends on ACPI
130	help
131	  This driver is for accessing the PSE (Programmable Service Engine) -
132	  an Embedded Controller like IP - using ISHTP (Integrated Sensor Hub
133	  Transport Protocol) to get battery, thermal and UCSI (USB Type-C
134	  Connector System Software Interface) related data from the platform.
135	  Users who don't want to use discrete Embedded Controller on Intel's
136	  Elkhartlake platform can leverage this integrated solution of
137	  ECLite which is part of PSE subsystem.
138
139	  To compile this driver as a module, choose M here: the module
140	  will be called intel_ishtp_eclite.
141
142config INTEL_MRFLD_PWRBTN
143	tristate "Intel Merrifield Basin Cove power button driver"
144	depends on INTEL_SOC_PMIC_MRFLD
145	depends on INPUT
146	help
147	  This option adds a power button driver for Basin Cove PMIC
148	  on Intel Merrifield devices.
149
150	  To compile this driver as a module, choose M here: the module
151	  will be called intel_mrfld_pwrbtn.
152
153config INTEL_PUNIT_IPC
154	tristate "Intel P-Unit IPC Driver"
155	help
156	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
157	  which is used to bridge the communications between kernel and P-Unit.
158
159config INTEL_RST
160	tristate "Intel Rapid Start Technology Driver"
161	depends on ACPI
162	help
163	  This driver provides support for modifying parameters on systems
164	  equipped with Intel's Rapid Start Technology. When put in an ACPI
165	  sleep state, these devices will wake after either a configured
166	  timeout or when the system battery reaches a critical state,
167	  automatically copying memory contents to disk. On resume, the
168	  firmware will copy the memory contents back to RAM and resume the OS
169	  as usual.
170
171config INTEL_SDSI
172	tristate "Intel Software Defined Silicon Driver"
173	depends on INTEL_VSEC
174	depends on X86_64
175	help
176	  This driver enables access to the Intel Software Defined Silicon
177	  interface used to provision silicon features with an authentication
178	  certificate and capability license.
179
180	  To compile this driver as a module, choose M here: the module will
181	  be called intel_sdsi.
182
183config INTEL_SMARTCONNECT
184	tristate "Intel Smart Connect disabling driver"
185	depends on ACPI
186	help
187	  Intel Smart Connect is a technology intended to permit devices to
188	  update state by resuming for a short period of time at regular
189	  intervals. If a user enables this functionality under Windows and
190	  then reboots into Linux, the system may remain configured to resume
191	  on suspend. In the absence of any userspace to support it, the system
192	  will then remain awake until something triggers another suspend.
193
194	  This driver checks to determine whether the device has Intel Smart
195	  Connect enabled, and if so disables it.
196
197config INTEL_TURBO_MAX_3
198	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
199	depends on X86_64 && SCHED_MC_PRIO
200	help
201	  This driver reads maximum performance ratio of each CPU and set up
202	  the scheduler priority metrics. In this way scheduler can prefer
203	  CPU with higher performance to schedule tasks.
204
205	  This driver is only required when the system is not using Hardware
206	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
207
208config INTEL_VSEC
209	tristate "Intel Vendor Specific Extended Capabilities Driver"
210	depends on PCI
211	select AUXILIARY_BUS
212	help
213	  Adds support for feature drivers exposed using Intel PCIe VSEC and
214	  DVSEC.
215
216	  To compile this driver as a module, choose M here: the module will
217	  be called intel_vsec.
218