hwmon: (gsc-hwmon) add fan sensor

Add a fan sensor to report RPM's from a fan tach input.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Tim Harvey
2020-08-27 13:04:54 -07:00
committed by Guenter Roeck
parent d6144a4004
commit 7497d4a66c
2 changed files with 30 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ enum gsc_hwmon_mode {
mode_voltage_24bit,
mode_voltage_raw,
mode_voltage_16bit,
mode_fan,
mode_max,
};