Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp539616pxu; Thu, 15 Oct 2020 10:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCYFhgoJlBJomGdxnPxQRLOKeA0DgvHNXnfH7f2nza/WLBT2nnHNB6F+CVBF4A0SpKNwjM X-Received: by 2002:a05:6402:384:: with SMTP id o4mr5368081edv.387.1602781305439; Thu, 15 Oct 2020 10:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602781305; cv=none; d=google.com; s=arc-20160816; b=MBB/CUz8OKKT/j1s/TmVSIVp8/AXOVMnKUBwrNX1w1G9exELHpMEd0fHxhko5d/1G+ ILDna0wc31yV+Y/PocQWkAB7hxVnD3pczElHAjttrvmVd12gD2yk9uQ+xfCcnr174hQ1 GgfMW9kpSjNOSmjBsUQ7sbp0plU3q5dtjl1TEBR/21wCZ80T2EDYmOotn3Y+2rkf3xv8 YGUqwnVYHjN8oIyIV/GSWwjfyLtmBDSezBG9leRdxLgim10/LcOBs+77DBPoRe/dnr8j 4SEIy9tOkcVSNtSS0XKxJRJlxZhG5Ce39MerzQcpZbfaEzeSoJqWiZbJP8uHib5Km0lM Bt8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=h5pEfvq60u7f8KPr5Ep/xcj7Nq5VzjXiyhsko10LtUc=; b=ULi5AoWrrhnW4MTI8VeSCcDtSZCtjhptJhtIjAjo3ffiR0EMOD2Ve4ZaLLGUzScTDA wP+0QHABUW8tyaz9bSunDvzIqsM4SIbu2fPqRmZ5x04DZ57qdDX6HXdXKk9MuFOylEHO dlAA3cSR8Qwppj/jW+E14TlIWgb+Ks1O8qxwX9UyuPeDNs6ioiS3jR5c+s+A3xgxObaX /jbGMm0ejjrXARiF5BiVe0lC1OvF43L+7/odhbwKgXL5oVtQwVRTV9VE9jGiMQ14pNRP FuJLyGoZFh4jbzQOM0rjYMV8Lo7+7GbGWzZ+72InA3A9zeNwVrDjJQHNpUK4fuUcly1S c7oA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si2736195ejy.634.2020.10.15.10.01.15; Thu, 15 Oct 2020 10:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389990AbgJORAF (ORCPT + 99 others); Thu, 15 Oct 2020 13:00:05 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:41578 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388946AbgJORAE (ORCPT ); Thu, 15 Oct 2020 13:00:04 -0400 Received: from 89-64-88-192.dynamic.chello.pl (89.64.88.192) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.491) id b914199718e2c358; Thu, 15 Oct 2020 19:00:02 +0200 From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Srinivas Pandruvada , Borislav Petkov Subject: [PATCH 2/2] ACPI: DPTF: Add ACPI_DPTF Kconfig menu Date: Thu, 15 Oct 2020 18:59:52 +0200 Message-ID: <35637045.pmxlVluP8t@kreacher> In-Reply-To: <2206290.MayQypTng0@kreacher> References: <2206290.MayQypTng0@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki 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 --- drivers/acpi/dptf/Kconfig | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) Index: linux-pm/drivers/acpi/dptf/Kconfig =================================================================== --- linux-pm.orig/drivers/acpi/dptf/Kconfig +++ linux-pm/drivers/acpi/dptf/Kconfig @@ -1,8 +1,25 @@ # SPDX-License-Identifier: GPL-2.0 -config DPTF_POWER - tristate "DPTF Platform Power Participant" + +menuconfig ACPI_DPTF + bool "Intel DPTF (Dynamic Platform and Thermal Framework) Support" depends on X86 help + Intel Dynamic Platform and Thermal Framework (DPTF) is a platform + level hardware/software solution for power and thermal management. + + As a container for multiple power/thermal technologies, DPTF provides + a coordinated approach for different policies to effect the hardware + state of a system. + + For more information see: + + +if ACPI_DPTF + +config DPTF_POWER + tristate "Platform Power DPTF Participant" + default m + help This driver adds support for Dynamic Platform and Thermal Framework (DPTF) Platform Power Participant device (INT3407) support. This participant is responsible for exposing platform telemetry: @@ -16,15 +33,17 @@ config DPTF_POWER the module will be called dptf_power. config DPTF_PCH_FIVR - tristate "DPTF PCH FIVR Participant" - depends on X86 + tristate "PCH FIVR DPTF Participant" + default m help This driver adds support for Dynamic Platform and Thermal Framework (DPTF) PCH FIVR Participant device support. This driver allows to - switch PCH FIVR (Fully Integrated Voltage Regulator) frequency. + switch the PCH FIVR (Fully Integrated Voltage Regulator) frequency. This participant is responsible for exposing: freq_mhz_low_clock freq_mhz_high_clock To compile this driver as a module, choose M here: the module will be called dptf_pch_fivr. + +endif