Re: [PATCH 1/4] hw/misc: Add GPIOs for duty in NPCM7xx PWM

2021-03-11 Thread Peter Maydell
On Fri, 5 Mar 2021 at 18:40, Hao Wu wrote: > > This patch adds GPIOs in NPCM7xx PWM module for its duty values. > The purpose of this is to connect it to the MFT module to provide > an input for measuring a PWM fan's RPM. Each PWM module has > NPCM7XX_PWM_PER_MODULE of GPIOs, each one corresponds

[PATCH 1/4] hw/misc: Add GPIOs for duty in NPCM7xx PWM

2021-03-05 Thread Hao Wu via
This patch adds GPIOs in NPCM7xx PWM module for its duty values. The purpose of this is to connect it to the MFT module to provide an input for measuring a PWM fan's RPM. Each PWM module has NPCM7XX_PWM_PER_MODULE of GPIOs, each one corresponds to one PWM instance and can connect to multiple fan in