Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1822712ybi; Mon, 1 Jul 2019 00:49:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHzMQbh0TkMmKH6MgAk7bxBGEx3i1mc8vtOYdBPKSnFIN00qU9dNqQR6vWKN4GXnJhpVnd X-Received: by 2002:a17:902:7041:: with SMTP id h1mr27452888plt.133.1561967386593; Mon, 01 Jul 2019 00:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561967386; cv=none; d=google.com; s=arc-20160816; b=TdQfCgOuxgf7/vM3ZYks6sD4u2fapslQ6cUr7rxTzAlFqtGRnC2PdiMVps9ufXEr9T sjOkWS7fvYk3ATKny5feBroX02vin0NuG63aOebjVKilN4SDdIeQ0Xdj71pgXaXGJxTr Jc/XNFRlVGpELLkjz5l8vN5cWKRUtB0FhLQDchGSzr6z79X1LbWNxF7Zv8zY1bcdMJpP 8RW1XjYiI1blISpxaax8pqG8x4SHWsR5oZAT3Emp5NzruLmEnp+mWMsYVdz9oMdFJdUv w+oAyOhGC7j8qvKFxqm2Q3pT3NzGeQ5jCZlTNFRbuY5DwqdkUP/lcGRbZCnCWJEJo87c lDTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Draol6r1cQR7+YjtAydaPv4LiVhDao/nbuGuHAwDdyk=; b=1JpGzDPLHBlmNvx87bTD7NDZxhd6LQeN0DKzlcaM65xZusQAPOo6SiRMA6w6cXqUUK d0X0KDsiKEGJ7XYnTRQgmm+Coe6/ZqY6N1AGj7CpKTa70CfC+XY8tQIw3EqTKPl08HJM E6Afw2f9WWU93BA045P3LCc5EzR2tM7UbMJhsFFSytCMWUf+PzPsGtmiWtgnHKJCRKXv zHqV/tclwzdG4eHlI8qpjobEYDaF7N1DEpvzDABn+pUXSUBB11zV08aWJekL/ZaBsYaO M+lhuPfd+7DFmn0iJ3vCCUVtZWxUesMryS1m+dWsXHzBjoaZxxLRqCBYE4qPe3I7ZXda 2sgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id j17si10881270pfn.278.2019.07.01.00.49.30; Mon, 01 Jul 2019 00:49:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727702AbfGAGz2 (ORCPT + 99 others); Mon, 1 Jul 2019 02:55:28 -0400 Received: from mga18.intel.com ([134.134.136.126]:53181 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727343AbfGAGz1 (ORCPT ); Mon, 1 Jul 2019 02:55:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2019 23:54:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="scan'208";a="165254995" Received: from hao-dev.bj.intel.com ([10.238.157.65]) by fmsmga007.fm.intel.com with ESMTP; 30 Jun 2019 23:54:00 -0700 From: Wu Hao To: mdf@kernel.org, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linux-api@vger.kernel.org, linux-hwmon@vger.kernel.org, jdelvare@suse.com, linux@roeck-us.net, atull@kernel.org, gregkh@linuxfoundation.org, Xu Yilun , Wu Hao Subject: [PATCH v5 1/3] Documentation: fpga: dfl: add descriptions for thermal/power management interfaces Date: Mon, 1 Jul 2019 14:37:05 +0800 Message-Id: <1561963027-4213-2-git-send-email-hao.wu@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561963027-4213-1-git-send-email-hao.wu@intel.com> References: <1561963027-4213-1-git-send-email-hao.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xu Yilun This patch add introductions to thermal/power interfaces. They are implemented as hwmon sysfs interfaces by thermal/power private feature drivers. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao --- v5: rebase due to dfl.txt -> dfl.rst --- Documentation/fpga/dfl.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/fpga/dfl.rst b/Documentation/fpga/dfl.rst index 6fa483f..094fc8a 100644 --- a/Documentation/fpga/dfl.rst +++ b/Documentation/fpga/dfl.rst @@ -108,6 +108,16 @@ More functions are exposed through sysfs error reporting sysfs interfaces allow user to read errors detected by the hardware, and clear the logged errors. + Power management (dfl_fme_power hwmon) + power management hwmon sysfs interfaces allow user to read power management + information (power consumption, thresholds, threshold status, limits, etc.) + and configure power thresholds for different throttling levels. + + Thermal management (dfl_fme_thermal hwmon) + thermal management hwmon sysfs interfaces allow user to read thermal + management information (current temperature, thresholds, threshold status, + etc.). + FIU - PORT ========== -- 1.8.3.1