mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
This patch adds support for power management private feature under FPGA Management Engine (FME). This private feature driver registers a hwmon for power (power1_input), thresholds information, e.g. (power1_max / crit / max_alarm / crit_alarm) and also read-only sysfs interfaces for other power management information. For configuration, user could write threshold values via above power1_max / crit sysfs interface under hwmon too. Signed-off-by: Luwei Kang <[email protected]> Signed-off-by: Xu Yilun <[email protected]> Signed-off-by: Wu Hao <[email protected]> Acked-by: Guenter Roeck <[email protected]> Reviewed-by: Moritz Fischer <[email protected]> Signed-off-by: Moritz Fischer <[email protected]>