Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp734502pxu; Thu, 15 Oct 2020 15:24:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVNwjkeCT1Da8Pd8ZFV1CpJlZHlr5wCbQ3LinDbAWIQZnukIlEbdF1EZSF3qFah8Xbc4jU X-Received: by 2002:a17:906:f8d5:: with SMTP id lh21mr547529ejb.185.1602800642750; Thu, 15 Oct 2020 15:24:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602800642; cv=none; d=google.com; s=arc-20160816; b=fkZh1+fj27a2hHbxPBkiQ9wjtxsG4EFRXOIm4MI6ROBhT05atdy4w9BQrg1FiyI78W NwkpAgUy/Wdog10f+SGzvE9vLJcgyTqIvo7dePgPLbBNbHyriuk7p+5tPBrj/WuIUP/+ gop46axtydIE2N7L9fu0Mg84106iVR0WvmkSvBU6lKp3Sp53Q0UhoEnHF8iRSe/9mpRH I5+jNdJQSMXA178iRRaUEohaPPkBKCY8Xl4scAARYq9SDflrKS6pupSA00z5u1VOowWG 2Ebm2D0jy7Ljk0Xqtu7NJrjtoGoEOPiwd5Z4MR0MHjeJJCS05+VUML9Z4hcsXK4Uztil V2nw== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=jBx53CsM9nAWSUGOJnKjxX6csxnRG+sfP3MVDFATRF0=; b=xgrne5G2j8xefon/zEW+yPRnO+gkmfgwf3GJHfNw76IZ0EJEE8w4a+u4MvoIg6KCl7 +zGTlfycj6yI4QeqWM/1Jr6WrgGzq0pbwHxAwQXV1RDfCjix6Yu3mvXhPaAI5TTyuikG NcV47y02Xd+09bxZmBS3fMn0JPOI5J300KiCclrmBFbVmeyyVQme1ZT9uDtAxJDk1Cew +T6DgnEPzSPVGjxhczfSZoYMS1TPblNhtliWgWG1zmTTcvCCeLPiOCq+5fVVdD3U2A/r TuGHJqqDD0oTJXwLWfnsN4NlX/iB1bxunA1WQxyp2vOcNTxL2m+kOtGuRLgsS5S+ywt5 EvqA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si219391edb.260.2020.10.15.15.23.40; Thu, 15 Oct 2020 15:24:02 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391859AbgJOTqO (ORCPT + 99 others); Thu, 15 Oct 2020 15:46:14 -0400 Received: from mga11.intel.com ([192.55.52.93]:38341 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391854AbgJOTqO (ORCPT ); Thu, 15 Oct 2020 15:46:14 -0400 IronPort-SDR: s+hi2SqqKEQU4IkuYooKx2VJGN/dum//EDdeBLAqPsdBC3bYgkyT8EquYG/yguTPjmI1CP4sn+ veFZod+TLVbA== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="162973519" X-IronPort-AV: E=Sophos;i="5.77,380,1596524400"; d="scan'208";a="162973519" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 12:46:13 -0700 IronPort-SDR: 1FNf/2Jt9eaIreCkupbrPpcxokjRoPlJPhb1fitGpc8/1ucG/gImZjH+wr1Y18zoyTbG3BelDh 6QqovO61rssg== X-IronPort-AV: E=Sophos;i="5.77,380,1596524400"; d="scan'208";a="357110343" Received: from emcmulli-mobl1.amr.corp.intel.com ([10.212.199.190]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 12:46:12 -0700 Message-ID: <3e4ca631b8fb85de570bf490e71dd71219c5a2c2.camel@linux.intel.com> Subject: Re: [PATCH 2/2] ACPI: DPTF: Add ACPI_DPTF Kconfig menu From: Srinivas Pandruvada To: "Rafael J. Wysocki" , Linux ACPI Cc: LKML , Borislav Petkov Date: Thu, 15 Oct 2020 12:46:10 -0700 In-Reply-To: <35637045.pmxlVluP8t@kreacher> References: <2206290.MayQypTng0@kreacher> <35637045.pmxlVluP8t@kreacher> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-10-15 at 18:59 +0200, Rafael J. Wysocki wrote: > 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 Reviewed-by: Srinivas Pandruvada > --- > 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: > + < > https://01.org/intel%C2%AE-dynamic-platform-and-thermal-framework-dptf-chromium-os/overview > > > + > +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 > > >