xref: /openbmc/linux/drivers/platform/x86/intel/Kconfig (revision daef4c5a)
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*daef4c5aSKate Hsuanconfig INTEL_INT0002_VGPIO
42*daef4c5aSKate Hsuan	tristate "Intel ACPI INT0002 Virtual GPIO driver"
43*daef4c5aSKate Hsuan	depends on GPIOLIB && ACPI && PM_SLEEP
44*daef4c5aSKate Hsuan	select GPIOLIB_IRQCHIP
45*daef4c5aSKate Hsuan	help
46*daef4c5aSKate Hsuan	  Some peripherals on Bay Trail and Cherry Trail platforms signal a
47*daef4c5aSKate Hsuan	  Power Management Event (PME) to the Power Management Controller (PMC)
48*daef4c5aSKate Hsuan	  to wakeup the system. When this happens software needs to explicitly
49*daef4c5aSKate Hsuan	  clear the PME bus 0 status bit in the GPE0a_STS register to avoid an
50*daef4c5aSKate Hsuan	  IRQ storm on IRQ 9.
51*daef4c5aSKate Hsuan
52*daef4c5aSKate Hsuan	  This is modelled in ACPI through the INT0002 ACPI device, which is
53*daef4c5aSKate Hsuan	  called a "Virtual GPIO controller" in ACPI because it defines the
54*daef4c5aSKate Hsuan	  event handler to call when the PME triggers through _AEI and _L02
55*daef4c5aSKate Hsuan	  methods as would be done for a real GPIO interrupt in ACPI.
56*daef4c5aSKate Hsuan
57*daef4c5aSKate Hsuan	  To compile this driver as a module, choose M here: the module will
58*daef4c5aSKate Hsuan	  be called intel_int0002_vgpio.
59*daef4c5aSKate Hsuan
609ed10052SKate Hsuanconfig INTEL_BXTWC_PMIC_TMU
619ed10052SKate Hsuan	tristate "Intel Broxton Whiskey Cove TMU Driver"
629ed10052SKate Hsuan	depends on INTEL_SOC_PMIC_BXTWC
639ed10052SKate Hsuan	depends on MFD_INTEL_PMC_BXT
649ed10052SKate Hsuan	select REGMAP
659ed10052SKate Hsuan	help
669ed10052SKate Hsuan	  Select this driver to use Intel Broxton Whiskey Cove PMIC TMU feature.
679ed10052SKate Hsuan	  This driver enables the alarm wakeup functionality in the TMU unit of
689ed10052SKate Hsuan	  Whiskey Cove PMIC.
699ed10052SKate Hsuan
702e4355e4SKate Hsuanconfig INTEL_CHTDC_TI_PWRBTN
712e4355e4SKate Hsuan	tristate "Intel Cherry Trail Dollar Cove TI power button driver"
722e4355e4SKate Hsuan	depends on INTEL_SOC_PMIC_CHTDC_TI
732e4355e4SKate Hsuan	depends on INPUT
742e4355e4SKate Hsuan	help
752e4355e4SKate Hsuan	  This option adds a power button driver for Dollar Cove TI
762e4355e4SKate Hsuan	  PMIC on Intel Cherry Trail devices.
772e4355e4SKate Hsuan
782e4355e4SKate Hsuan	  To compile this driver as a module, choose M here: the module
792e4355e4SKate Hsuan	  will be called intel_chtdc_ti_pwrbtn.
802e4355e4SKate Hsuan
81f51c108dSKate Hsuanconfig INTEL_MRFLD_PWRBTN
82f51c108dSKate Hsuan	tristate "Intel Merrifield Basin Cove power button driver"
83f51c108dSKate Hsuan	depends on INTEL_SOC_PMIC_MRFLD
84f51c108dSKate Hsuan	depends on INPUT
85f51c108dSKate Hsuan	help
86f51c108dSKate Hsuan	  This option adds a power button driver for Basin Cove PMIC
87f51c108dSKate Hsuan	  on Intel Merrifield devices.
88f51c108dSKate Hsuan
89f51c108dSKate Hsuan	  To compile this driver as a module, choose M here: the module
90f51c108dSKate Hsuan	  will be called intel_mrfld_pwrbtn.
91f51c108dSKate Hsuan
92386d17b2SKate Hsuanconfig INTEL_PUNIT_IPC
93386d17b2SKate Hsuan	tristate "Intel P-Unit IPC Driver"
94386d17b2SKate Hsuan	help
95386d17b2SKate Hsuan	  This driver provides support for Intel P-Unit Mailbox IPC mechanism,
96386d17b2SKate Hsuan	  which is used to bridge the communications between kernel and P-Unit.
97386d17b2SKate Hsuan
98e6596c22SKate Hsuanconfig INTEL_RST
99e6596c22SKate Hsuan	tristate "Intel Rapid Start Technology Driver"
100e6596c22SKate Hsuan	depends on ACPI
101e6596c22SKate Hsuan	help
102e6596c22SKate Hsuan	  This driver provides support for modifying parameters on systems
103e6596c22SKate Hsuan	  equipped with Intel's Rapid Start Technology. When put in an ACPI
104e6596c22SKate Hsuan	  sleep state, these devices will wake after either a configured
105e6596c22SKate Hsuan	  timeout or when the system battery reaches a critical state,
106e6596c22SKate Hsuan	  automatically copying memory contents to disk. On resume, the
107e6596c22SKate Hsuan	  firmware will copy the memory contents back to RAM and resume the OS
108e6596c22SKate Hsuan	  as usual.
109e6596c22SKate Hsuan
11047bbe03eSKate Hsuanconfig INTEL_SMARTCONNECT
11147bbe03eSKate Hsuan	tristate "Intel Smart Connect disabling driver"
11247bbe03eSKate Hsuan	depends on ACPI
11347bbe03eSKate Hsuan	help
11447bbe03eSKate Hsuan	  Intel Smart Connect is a technology intended to permit devices to
11547bbe03eSKate Hsuan	  update state by resuming for a short period of time at regular
11647bbe03eSKate Hsuan	  intervals. If a user enables this functionality under Windows and
11747bbe03eSKate Hsuan	  then reboots into Linux, the system may remain configured to resume
11847bbe03eSKate Hsuan	  on suspend. In the absence of any userspace to support it, the system
11947bbe03eSKate Hsuan	  will then remain awake until something triggers another suspend.
12047bbe03eSKate Hsuan
12147bbe03eSKate Hsuan	  This driver checks to determine whether the device has Intel Smart
12247bbe03eSKate Hsuan	  Connect enabled, and if so disables it.
12347bbe03eSKate Hsuan
1241fef1c04SKate Hsuanconfig INTEL_TURBO_MAX_3
1251fef1c04SKate Hsuan	bool "Intel Turbo Boost Max Technology 3.0 enumeration driver"
1261fef1c04SKate Hsuan	depends on X86_64 && SCHED_MC_PRIO
1271fef1c04SKate Hsuan	help
1281fef1c04SKate Hsuan	  This driver reads maximum performance ratio of each CPU and set up
1291fef1c04SKate Hsuan	  the scheduler priority metrics. In this way scheduler can prefer
1301fef1c04SKate Hsuan	  CPU with higher performance to schedule tasks.
1311fef1c04SKate Hsuan
1321fef1c04SKate Hsuan	  This driver is only required when the system is not using Hardware
1331fef1c04SKate Hsuan	  P-States (HWP). In HWP mode, priority can be read from ACPI tables.
1341fef1c04SKate Hsuan
135075b5598SKate Hsuanconfig INTEL_UNCORE_FREQ_CONTROL
136075b5598SKate Hsuan	tristate "Intel Uncore frequency control driver"
137075b5598SKate Hsuan	depends on X86_64
138075b5598SKate Hsuan	help
139075b5598SKate Hsuan	  This driver allows control of Uncore frequency limits on
140075b5598SKate Hsuan	  supported server platforms.
141075b5598SKate Hsuan
142075b5598SKate Hsuan	  Uncore frequency controls RING/LLC (last-level cache) clocks.
143075b5598SKate Hsuan
144075b5598SKate Hsuan	  To compile this driver as a module, choose M here: the module
145075b5598SKate Hsuan	  will be called intel-uncore-frequency.
146075b5598SKate Hsuan
1478bd836feSAndy Shevchenkoendif # X86_PLATFORM_DRIVERS_INTEL
148