Skip to content

Commit d7a4a85

Browse files
committed
ACPI: DPTF: Add ACPI_DPTF Kconfig menu
Add a Kconfig menu for Intel DPTF (Dynamic Platform and Thermal Framework), put both the existing participant drivers in it and set them to be built as modules by default. While at it, do a few assorted cleanups for a good measure. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Borislav Petkov <bp@suse.de>
1 parent ff44fe3 commit d7a4a85

1 file changed

Lines changed: 24 additions & 5 deletions

File tree

drivers/acpi/dptf/Kconfig

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
config DPTF_POWER
3-
tristate "DPTF Platform Power Participant"
2+
3+
menuconfig ACPI_DPTF
4+
bool "Intel DPTF (Dynamic Platform and Thermal Framework) Support"
45
depends on X86
6+
help
7+
Intel Dynamic Platform and Thermal Framework (DPTF) is a platform
8+
level hardware/software solution for power and thermal management.
9+
10+
As a container for multiple power/thermal technologies, DPTF provides
11+
a coordinated approach for different policies to effect the hardware
12+
state of a system.
13+
14+
For more information see:
15+
<https://01.org/intel%C2%AE-dynamic-platform-and-thermal-framework-dptf-chromium-os/overview>
16+
17+
if ACPI_DPTF
18+
19+
config DPTF_POWER
20+
tristate "Platform Power DPTF Participant"
21+
default m
522
help
623
This driver adds support for Dynamic Platform and Thermal Framework
724
(DPTF) Platform Power Participant device (INT3407) support.
@@ -16,15 +33,17 @@ config DPTF_POWER
1633
the module will be called dptf_power.
1734

1835
config DPTF_PCH_FIVR
19-
tristate "DPTF PCH FIVR Participant"
20-
depends on X86
36+
tristate "PCH FIVR DPTF Participant"
37+
default m
2138
help
2239
This driver adds support for Dynamic Platform and Thermal Framework
2340
(DPTF) PCH FIVR Participant device support. This driver allows to
24-
switch PCH FIVR (Fully Integrated Voltage Regulator) frequency.
41+
switch the PCH FIVR (Fully Integrated Voltage Regulator) frequency.
2542
This participant is responsible for exposing:
2643
freq_mhz_low_clock
2744
freq_mhz_high_clock
2845

2946
To compile this driver as a module, choose M here:
3047
the module will be called dptf_pch_fivr.
48+
49+
endif

0 commit comments

Comments
 (0)