commit | 2e5219c77183be47eb9ae4b1a4195e008d196c73 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <l.majewski@samsung.com> | Thu Feb 26 14:59:36 2015 +0100 |
committer | Guenter Roeck <linux@roeck-us.net> | Mon Mar 09 09:59:36 2015 -0700 |
tree | e4401ed00f312bb3a6ee8ce188c89b1b46b5bfd5 | |
parent | cb85ca332f4d72ca68464c55f63af0387f6bbdb1 [diff] |
hwmon: (pwm-fan) Read PWM FAN configuration from device tree This patch provides code for reading PWM FAN configuration data via device tree. The pwm-fan can work with full speed when configuration is not provided. However, errors are propagated when wrong DT bindings are found. Additionally the struct pwm_fan_ctx has been extended. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>