]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (it87) Add support for all pwm channels on IT8620E
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 Mar 2015 01:18:19 +0000 (18:18 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:35 +0000 (06:32 -0700)
commit424c18401f84026c36744107ed256ee6ce92bdf8
treed2e1421db3d9c2cbf4b219140189be1cf09c2f2e
parent8e94f388d2a1025a5a685fe5dcbe7d13566379f8
hwmon: (it87) Add support for all pwm channels on IT8620E

IT8620E supports up to 6 pwm channels. Add support for it.
Also check if fan tachometers 4..6 are enabled before instantiating
the respective sysfs attributes.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c