summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-01-29 09:48:47 -0800
committerPatrick Venture <venture@google.com>2018-02-01 18:55:18 +0000
commit9331ab7846750a05b90efd845935bfd3275e694c (patch)
treeed061448835b198e1330f8a78fbf2fbd4b38df70 /Makefile.am
parentc8a8e0102e1bb9dd1e231f809e6327513eea3559 (diff)
downloadphosphor-hwmon-9331ab7846750a05b90efd845935bfd3275e694c.tar.gz
phosphor-hwmon-9331ab7846750a05b90efd845935bfd3275e694c.zip
Add fan pwm interface target
The current daemon only supports RPM-based fan control, whereas the hwmon interface for PWM is often present. This implements the Fan Control PWM dbus interface. This CL is not the complete solution, but if mixed with a follow-on CL that does this, I think it'll be ideal. For instance, this assumes the pwm number matches, whereas the other CL lets you specify the corresponding PWM target for the fan. Change-Id: I23aaa0619cdefba0a004ac0d26dc6b928e78f1e8 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 359db2e..aaa55bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,6 +22,7 @@ libhwmon_la_SOURCES = \
mainloop.cpp \
sysfs.cpp \
env.cpp \
- fan_speed.cpp
+ fan_speed.cpp \
+ fan_pwm.cpp
SUBDIRS = . test msl
OpenPOWER on IntegriCloud