drivers: hwmon: Support for ASPEED PWM/Fan tach
authorJaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Wed, 5 Apr 2017 00:52:41 +0000 (17:52 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 10 Apr 2017 20:12:18 +0000 (13:12 -0700)
commit2d7a548a3eff382da5cd743670693b7657327714
tree271f02605416567bd58c140cbb469e798e0dc647
parentd702b353b9d3fccbeabba96ed530ffc87f303465
drivers: hwmon: Support for ASPEED PWM/Fan tach

The ASPEED AST2400/2500 PWM controller supports 8 PWM output ports.
The ASPEED AST2400/2500 Fan tach controller supports 16 tachometer
inputs.
The device driver matches on the device tree node. The configuration
values are read from the device tree and written to the respective
registers.
The driver provides a sysfs entries through which the user can
configure the duty-cycle value (ranging from 0 to 100 percent) and read
the fan tach rpm value.

Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/aspeed-pwm-tacho [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/aspeed-pwm-tacho.c [new file with mode: 0644]