drm/radeon: add hwmon interface for managing fan pwm (v2)
authorOleg Chernovskiy <algonkvel@gmail.com>
Sun, 7 Dec 2014 21:10:45 +0000 (00:10 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:38:47 +0000 (10:38 -0500)
commit99736703a9beedcb9afc69cde8e13846c713a4a3
treedc793c2cbbab194223425969d90a5929b6e64878
parenta35a4b2b1818239b54e12b60b6534d5d523eebfc
drm/radeon: add hwmon interface for managing fan pwm (v2)

This adds percent-based fan control. Attributes (I hope) follow the
sysfs-interface specification:
* pwm1 - fan speed query/manage
* pwm1_max, pwm1_min - min/max values for fan pwm (constant)
* pwm1_enable - fan control query/manage (enable/disable)

(There is no rpm-based control for now)

v2: agd5f: fix formatting

Signed-off-by: Oleg Chernovskiy <algonkvel@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c