xref: /openbmc/linux/drivers/platform/x86/intel/Kconfig (revision 3afeacfd)
18bd836feSAndy Shevchenko# SPDX-License-Identifier: GPL-2.0-only
28bd836feSAndy Shevchenko#
38bd836feSAndy Shevchenko# Intel x86 Platform Specific Drivers
48bd836feSAndy Shevchenko#
58bd836feSAndy Shevchenko
68bd836feSAndy Shevchenkomenuconfig X86_PLATFORM_DRIVERS_INTEL
78bd836feSAndy Shevchenko	bool "Intel x86 Platform Specific Device Drivers"
88bd836feSAndy Shevchenko	default y
98bd836feSAndy Shevchenko	help
108bd836feSAndy Shevchenko	  Say Y here to get to see options for device drivers for
118bd836feSAndy Shevchenko	  various Intel x86 platforms, including vendor-specific
128bd836feSAndy Shevchenko	  drivers. This option alone does not add any kernel code.
138bd836feSAndy Shevchenko
148bd836feSAndy Shevchenko	  If you say N, all options in this submenu will be skipped
158bd836feSAndy Shevchenko	  and disabled.
168bd836feSAndy Shevchenko
178bd836feSAndy Shevchenkoif X86_PLATFORM_DRIVERS_INTEL
188bd836feSAndy Shevchenko
1976693f57SKate Hsuansource "drivers/platform/x86/intel/atomisp2/Kconfig"
20dcfbd31eSShravan Ssource "drivers/platform/x86/intel/int1092/Kconfig"
2172fbcac2SAndy Shevchenkosource "drivers/platform/x86/intel/int33fe/Kconfig"
228bd836feSAndy Shevchenkosource "drivers/platform/x86/intel/int3472/Kconfig"
23fa082a7cSKate Hsuansource "drivers/platform/x86/intel/pmc/Kconfig"
24e184b1e5SDavid E. Boxsource "drivers/platform/x86/intel/pmt/Kconfig"
256b1e4828SKate Hsuansource "drivers/platform/x86/intel/speed_select_if/Kconfig"
262b6cb8f2SKate Hsuansource "drivers/platform/x86/intel/telemetry/Kconfig"
278bd836feSAndy Shevchenko
28c3d3586dSKate Hsuanconfig INTEL_HID_EVENT
29c3d3586dSKate Hsuan	tristate "Intel HID Event"
30c3d3586dSKate Hsuan	depends on ACPI
31c3d3586dSKate Hsuan	depends on INPUT
32c3d3586dSKate Hsuan	depends on I2C
33c3d3586dSKate Hsuan	select INPUT_SPARSEKMAP
34c3d3586dSKate Hsuan	help
35c3d3586dSKate Hsuan	  This driver provides support for the Intel HID Event hotkey interface.
36c3d3586dSKate Hsuan	  Some laptops require this driver for hotkey support.
37c3d3586dSKate Hsuan
38c3d3586dSKate Hsuan	  To compile this driver as a module, choose M here: the module will
39c3d3586dSKate Hsuan	  be called intel_hid.
40c3d3586dSKate Hsuan
41*3afeacfdSKate Hsuanconfig INTEL_VBTN
42*3afeacfdSKate Hsuan	tristate "Intel Virtual Button"
43*3afeacfdSKate Hsuan	depends on ACPI
44*3afeacfdSKate Hsuan	depends on INPUT
45*3afeacfdSKate Hsuan	depends on I2C
46*3afeacfdSKate Hsuan	select INPUT_SPARSEKMAP
47*3afeacfdSKate Hsuan	help
48*3afeacfdSKate Hsuan	  This driver provides support for the Intel Virtual Button interface.
49*3afeacfdSKate Hsuan	  Some laptops require this driver for power button support.
50*3afeacfdSKate Hsuan
51*3afeacfdSKate Hsuan	  To compile this driver as a module, choose M here: the module will
52*3afeacfdSKate Hsuan	  be called intel_vbtn.
53*3afeacfdSKate Hsuan
54daef4c5aSKate Hsuanconfig INTEL_INT0002_VGPIO
55daef4c5aSKate Hsuan	tristate "Intel ACPI INT0002 Virtual GPIO driver"
56daef4c5aSKate Hsuan	depends on GPIOLIB && ACPI && PM_SLEEP
57daef4c5aSKate Hsuan	select GPIOLIB_IRQCHIP
58daef4c5aSKate Hsuan	help
59daef4c5aSKate Hsuan	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
60daef4c5aSKate Hsuan	  Power Management Event (PME) to the Power Management Controller (PMC)
61daef4c5aSKate Hsuan	  to wakeup the system. When this happens software needs to explicitly
62daef4c5aSKate Hsuan	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
63daef4c5aSKate Hsuan	  IRQ storm on IRQ 9.
64daef4c5aSKate Hsuan
65daef4c5aSKate Hsuan	  This is modelled in ACPI through the INT0002 ACPI device, which is
66daef4c5aSKate Hsuan	  called a "Virtual GPIO controller" in ACPI because it defines the
67daef4c5aSKate Hsuan	  event handler to call when the PME triggers through _AEI and _L02
68daef4c5aSKate Hsuan	  methods as would be done for a real GPIO interrupt in ACPI.
69daef4c5aSKate Hsuan
70daef4c5aSKate Hsuan	  To compile this driver as a module, choose M here: the module will
71daef4c5aSKate Hsuan	  be called intel_int0002_vgpio.
72daef4c5aSKate Hsuan
73cdbb8f5eSKate Hsuanconfig INTEL_OAKTRAIL
74cdbb8f5eSKate Hsuan	tristate "Intel Oaktrail Platform Extras"
75cdbb8f5eSKate Hsuan	depends on ACPI
76cdbb8f5eSKate Hsuan	depends on ACPI_VIDEO || ACPI_VIDEO=n
77cdbb8f5eSKate Hsuan	depends on RFKILL && BACKLIGHT_CLASS_DEVICE && ACPI
78cdbb8f5eSKate Hsuan	help
79cdbb8f5eSKate Hsuan	  Intel Oaktrail platform need this driver to provide interfaces to
80cdbb8f5eSKate Hsuan	  enable/disable the Camera, WiFi, BT etc. devices. If in doubt, say Y
81cdbb8f5eSKate Hsuan	  here; it will only load on supported platforms.
82cdbb8f5eSKate Hsuan
839ed10052SKate Hsuanconfig INTEL_BXTWC_PMIC_TMU
849ed10052SKate Hsuan	tristate "Intel Broxton Whiskey Cove TMU Driver"
859ed10052SKate Hsuan	depends on INTEL_SOC_PMIC_BXTWC
869ed10052SKate Hsuan	depends on MFD_INTEL_PMC_BXT
879ed10052SKate Hsuan	select REGMAP
889ed10052SKate Hsuan	help
899ed10052SKate Hsuan	  Select this driver to use Intel Broxton Whiskey Cove PMIC TMU feature.
909ed10052SKate Hsuan	  This driver enables the alarm wakeup functionality in the TMU unit of
919ed10052SKate Hsuan	  Whiskey Cove PMIC.
929ed10052SKate Hsuan
932e4355e4SKate Hsuanconfig INTEL_CHTDC_TI_PWRBTN
942e4355e4SKate Hsuan	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
952e4355e4SKate Hsuan	depends on INTEL_SOC_PMIC_CHTDC_TI
962e4355e4SKate Hsuan	depends on INPUT
972e4355e4SKate Hsuan	help
982e4355e4SKate Hsuan	  This option adds a power button driver for Dollar Cove TI
992e4355e4SKate Hsuan	  PMIC on Intel Cherry Trail devices.
1002e4355e4SKate Hsuan
1012e4355e4SKate Hsuan	  To compile this driver as a module, choose M here: the module
1022e4355e4SKate Hsuan	  will be called intel_chtdc_ti_pwrbtn.
1032e4355e4SKate Hsuan
104f51c108dSKate Hsuanconfig INTEL_MRFLD_PWRBTN
105f51c108dSKate Hsuan	tristate "Intel Merrifield Basin Cove power button driver"
106f51c108dSKate Hsuan	depends on INTEL_SOC_PMIC_MRFLD
107f51c108dSKate Hsuan	depends on INPUT
108f51c108dSKate Hsuan	help
109f51c108dSKate Hsuan	  This option adds a power button driver for Basin Cove PMIC
110f51c108dSKate Hsuan	  on Intel Merrifield devices.
111f51c108dSKate Hsuan
112f51c108dSKate Hsuan	  To compile this driver as a module, choose M here: the module
113f51c108dSKate Hsuan	  will be called intel_mrfld_pwrbtn.
114f51c108dSKate Hsuan
115386d17b2SKate Hsuanconfig INTEL_PUNIT_IPC
116386d17b2SKate Hsuan	tristate "Intel P-Unit IPC Driver"
117386d17b2SKate Hsuan	help
118386d17b2SKate Hsuan	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
119386d17b2SKate Hsuan	  which is used to bridge the communications between kernel and P-Unit.
120386d17b2SKate Hsuan
121e6596c22SKate Hsuanconfig INTEL_RST
122e6596c22SKate Hsuan	tristate "Intel Rapid Start Technology Driver"
123e6596c22SKate Hsuan	depends on ACPI
124e6596c22SKate Hsuan	help
125e6596c22SKate Hsuan	  This driver provides support for modifying parameters on systems
126e6596c22SKate Hsuan	  equipped with Intel's Rapid Start Technology. When put in an ACPI
127e6596c22SKate Hsuan	  sleep state, these devices will wake after either a configured
128e6596c22SKate Hsuan	  timeout or when the system battery reaches a critical state,
129e6596c22SKate Hsuan	  automatically copying memory contents to disk. On resume, the
130e6596c22SKate Hsuan	  firmware will copy the memory contents back to RAM and resume the OS
131e6596c22SKate Hsuan	  as usual.
132e6596c22SKate Hsuan
13347bbe03eSKate Hsuanconfig INTEL_SMARTCONNECT
13447bbe03eSKate Hsuan	tristate "Intel Smart Connect disabling driver"
13547bbe03eSKate Hsuan	depends on ACPI
13647bbe03eSKate Hsuan	help
13747bbe03eSKate Hsuan	  Intel Smart Connect is a technology intended to permit devices to
13847bbe03eSKate Hsuan	  update state by resuming for a short period of time at regular
13947bbe03eSKate Hsuan	  intervals. If a user enables this functionality under Windows and
14047bbe03eSKate Hsuan	  then reboots into Linux, the system may remain configured to resume
14147bbe03eSKate Hsuan	  on suspend. In the absence of any userspace to support it, the system
14247bbe03eSKate Hsuan	  will then remain awake until something triggers another suspend.
14347bbe03eSKate Hsuan
14447bbe03eSKate Hsuan	  This driver checks to determine whether the device has Intel Smart
14547bbe03eSKate Hsuan	  Connect enabled, and if so disables it.
14647bbe03eSKate Hsuan
1471fef1c04SKate Hsuanconfig INTEL_TURBO_MAX_3
1481fef1c04SKate Hsuan	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1491fef1c04SKate Hsuan	depends on X86_64 && SCHED_MC_PRIO
1501fef1c04SKate Hsuan	help
1511fef1c04SKate Hsuan	  This driver reads maximum performance ratio of each CPU and set up
1521fef1c04SKate Hsuan	  the scheduler priority metrics. In this way scheduler can prefer
1531fef1c04SKate Hsuan	  CPU with higher performance to schedule tasks.
1541fef1c04SKate Hsuan
1551fef1c04SKate Hsuan	  This driver is only required when the system is not using Hardware
1561fef1c04SKate Hsuan	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1571fef1c04SKate Hsuan
158075b5598SKate Hsuanconfig INTEL_UNCORE_FREQ_CONTROL
159075b5598SKate Hsuan	tristate "Intel Uncore frequency control driver"
160075b5598SKate Hsuan	depends on X86_64
161075b5598SKate Hsuan	help
162075b5598SKate Hsuan	  This driver allows control of Uncore frequency limits on
163075b5598SKate Hsuan	  supported server platforms.
164075b5598SKate Hsuan
165075b5598SKate Hsuan	  Uncore frequency controls RING/LLC (last-level cache) clocks.
166075b5598SKate Hsuan
167075b5598SKate Hsuan	  To compile this driver as a module, choose M here: the module
168075b5598SKate Hsuan	  will be called intel-uncore-frequency.
169075b5598SKate Hsuan
1708bd836feSAndy Shevchenkoendif # X86_PLATFORM_DRIVERS_INTEL
171