Re: [PATCH 2/4] hw/misc: Add NPCM7XX MFT Module

2021-03-11 Thread Peter Maydell
On Fri, 5 Mar 2021 at 18:40, Hao Wu wrote: > > This patch adds Multi Function Timer (MFT) module for NPCM7XX Soc. > This module is mainly used to configure PWM fans. It has just enough > functionality to make the PWM fan kernel module work. > > The module takes two input, the max_rpm of a fan (mod

[PATCH 2/4] hw/misc: Add NPCM7XX MFT Module

2021-03-05 Thread Hao Wu via
This patch adds Multi Function Timer (MFT) module for NPCM7XX Soc. This module is mainly used to configure PWM fans. It has just enough functionality to make the PWM fan kernel module work. The module takes two input, the max_rpm of a fan (modifiable via QMP) and duty cycle (a GPIO from the PWM mo