linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] add thermal/power management features for FPGA DFL drivers
@ 2019-05-27  6:06 Wu Hao
  2019-05-27  6:06 ` [PATCH v3 1/3] Documentation: fpga: dfl: add descriptions for thermal/power management interfaces Wu Hao
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wu Hao @ 2019-05-27  6:06 UTC (permalink / raw)
  To: atull, mdf, jdelvare, linux, linux-fpga, linux-hwmon, linux-kernel
  Cc: linux-api, Wu Hao

This patchset adds thermal and power management features for FPGA DFL
drivers. Both patches are using hwmon as userspace interfaces.
Actually this patchset is splitted from patchset [1].

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

v2 version patch could be found here [2] - thermal, [3] - power.

Please note that this patchset needs to be applied on top of patchset [4].

Thanks!

[1] https://lkml.org/lkml/2019/4/29/227
[2] https://lkml.org/lkml/2019/4/29/211
[3] https://lkml.org/lkml/2019/4/29/213
[4] https://lkml.org/lkml/2019/5/27/11

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 | 131 +++++++
 Documentation/fpga/dfl.txt                       |   9 +
 drivers/fpga/Kconfig                             |   2 +-
 drivers/fpga/dfl-fme-main.c                      | 426 +++++++++++++++++++++++
 4 files changed, 567 insertions(+), 1 deletion(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-06-06  6:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27  6:06 [PATCH v3 0/3] add thermal/power management features for FPGA DFL drivers Wu Hao
2019-05-27  6:06 ` [PATCH v3 1/3] Documentation: fpga: dfl: add descriptions for thermal/power management interfaces Wu Hao
2019-05-27  6:06 ` [PATCH v3 2/3] fpga: dfl: fme: add thermal management support Wu Hao
2019-06-05 21:10   ` Guenter Roeck
2019-06-06  6:11     ` Wu Hao
2019-05-27  6:06 ` [PATCH v3 3/3] fpga: dfl: fme: add power " Wu Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).