Re: [PATCH net-next] mlxsw: core: Extend cooling device with cooling levels

2018-11-20 Thread David Miller
From: Ido Schimmel Date: Tue, 20 Nov 2018 06:52:03 + > From: Vadim Pasternak > > Extend cooling device with cooling levels vector to allow more > flexibility of PWM setting. > > Thermal zone algorithm operates with the numerical states for PWM > setting. Each state is the index, defined in

[PATCH net-next] mlxsw: core: Extend cooling device with cooling levels

2018-11-19 Thread Ido Schimmel
From: Vadim Pasternak Extend cooling device with cooling levels vector to allow more flexibility of PWM setting. Thermal zone algorithm operates with the numerical states for PWM setting. Each state is the index, defined in range from 0 to 10 and it's mapped to the relevant duty cycle value, whi