hwmon: (adt7475) add high frequency support
commit3490c92a0963280f7f01ebb23989066a67dfd18d
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 15 May 2017 01:30:29 +0000 (15 13:30 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 12 Jun 2017 00:08:19 +0000 (11 17:08 -0700)
tree2164c8303d5aa3ecf107c78b639981abc70667b7
parent1d58f5efbf2d8599a9062e4c800a072e2f015625
hwmon: (adt7475) add high frequency support

Systems using 4-wire fans usually require high frequency (22.5kHz)
output on the pwm. Add 22500 as a valid option in the pwmfreq_table. In
high frequency mode the low-order bit are ignored so they can safely be
set to 0.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c