Re: [RFC PATCH 3/4] pmbus: Allow dynamic fan coefficient values

2017-07-11 Thread Guenter Roeck
On 07/11/2017 06:20 PM, Andrew Jeffery wrote: On Tue, 2017-07-11 at 06:31 -0700, Guenter Roeck wrote: On 07/10/2017 06:56 AM, Andrew Jeffery wrote: Some PMBus chips, such as the MAX31785, use different coefficients for FAN_COMMAND_[1-4] depending on whether the fan is in PWM (percent duty) or R

Re: [RFC PATCH 3/4] pmbus: Allow dynamic fan coefficient values

2017-07-11 Thread Andrew Jeffery
On Tue, 2017-07-11 at 06:31 -0700, Guenter Roeck wrote: > On 07/10/2017 06:56 AM, Andrew Jeffery wrote: > > Some PMBus chips, such as the MAX31785, use different coefficients for > > FAN_COMMAND_[1-4] depending on whether the fan is in PWM (percent duty) > > or RPM mode. Add a callback to allow the

Re: [RFC PATCH 3/4] pmbus: Allow dynamic fan coefficient values

2017-07-11 Thread Guenter Roeck
On 07/10/2017 06:56 AM, Andrew Jeffery wrote: Some PMBus chips, such as the MAX31785, use different coefficients for FAN_COMMAND_[1-4] depending on whether the fan is in PWM (percent duty) or RPM mode. Add a callback to allow the driver to provide the applicable coefficients to avoid imposing on