Re: [v4,3/6] pmbus: core: Add fan control support

2017-11-10 Thread Guenter Roeck
On 11/09/2017 07:03 PM, Andrew Jeffery wrote: On Sun, 2017-11-05 at 06:39 -0800, Guenter Roeck wrote: On Fri, Nov 03, 2017 at 03:53:03PM +1100, Andrew Jeffery wrote: Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. Fans in a PMBus device are driven by the configuration of two r

Re: [v4,3/6] pmbus: core: Add fan control support

2017-11-09 Thread Andrew Jeffery
On Sun, 2017-11-05 at 06:39 -0800, Guenter Roeck wrote: > On Fri, Nov 03, 2017 at 03:53:03PM +1100, Andrew Jeffery wrote: > > Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. > > > > Fans in a PMBus device are driven by the configuration of two registers: > > FAN_CONFIG_x_y and FAN

Re: [v4,3/6] pmbus: core: Add fan control support

2017-11-05 Thread Guenter Roeck
On Fri, Nov 03, 2017 at 03:53:03PM +1100, Andrew Jeffery wrote: > Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. > > Fans in a PMBus device are driven by the configuration of two registers: > FAN_CONFIG_x_y and FAN_COMMAND_x: FAN_CONFIG_x_y dictates how the fan > and the tacho op