From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Hao Subject: [PATCH v5 0/3] add thermal/power management features for FPGA DFL drivers Date: Mon, 1 Jul 2019 14:37:04 +0800 Message-ID: <1561963027-4213-1-git-send-email-hao.wu@intel.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org 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, Wu Hao List-Id: linux-api@vger.kernel.org This patchset adds thermal and power management features for FPGA DFL drivers. Both patches are using hwmon as userspace interfaces. Main changes from v4: - rebase due to Documentation format change (dfl.txt -> rst). - clamp threshold inputs for sysfs interfaces. (patch#3) - update sysfs doc to add more description for ltr sysfs interfaces. (patch#3) Main changes from v3: - use HWMON_CHANNEL_INFO. Main changes from v2: - switch to standard hwmon APIs for thermal hwmon: temp1_alarm --> temp1_max temp1_alarm_status --> temp1_max_alarm temp1_crit_status --> temp1_crit_alarm temp1_alarm_policy --> temp1_max_policy - switch to standard hwmon APIs for power hwmon: power1_cap --> power1_max power1_cap_status --> power1_max_alarm power1_crit_status --> power1_crit_alarm Please note that this patchset is generated on top of this patchset. [PATCH 0/15] FPGA DFL updates https://lkml.org/lkml/2019/6/27/1088 Wu Hao (2): fpga: dfl: fme: add thermal management support fpga: dfl: fme: add power management support Xu Yilun (1): Documentation: fpga: dfl: add descriptions for thermal/power management interfaces Documentation/ABI/testing/sysfs-platform-dfl-fme | 132 ++++++++ Documentation/fpga/dfl.rst | 10 + drivers/fpga/Kconfig | 2 +- drivers/fpga/dfl-fme-main.c | 403 +++++++++++++++++++++++ 4 files changed, 546 insertions(+), 1 deletion(-) -- 1.8.3.1