Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-11-02 Thread Richard Henderson
On 11/2/21 6:44 AM, Peter Maydell wrote: On Tue, 2 Nov 2021 at 10:03, Richard Henderson wrote: On 11/1/21 1:50 PM, Hao Wu wrote: Is this reply to a wrong thread? I thought it was applied a long time ago. Probably. Possibly you meant this 5-patch NPCM7xx series ?

Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-11-02 Thread Peter Maydell
On Tue, 2 Nov 2021 at 10:03, Richard Henderson wrote: > > On 11/1/21 1:50 PM, Hao Wu wrote: > > Is this reply to a wrong thread? I thought it was applied a long time ago. > > Probably. Possibly you meant this 5-patch NPCM7xx series ?

Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-11-02 Thread Richard Henderson
On 11/1/21 1:50 PM, Hao Wu wrote: Is this reply to a wrong thread? I thought it was applied a long time ago. Probably. r~ Thanks, On Mon, Nov 1, 2021 at 10:33 AM Richard Henderson > wrote: On Thu, 11 Mar 2021 at 13:11, Hao Wu

Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-11-01 Thread Hao Wu
Is this reply to a wrong thread? I thought it was applied a long time ago. Thanks, On Mon, Nov 1, 2021 at 10:33 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On Thu, 11 Mar 2021 at 13:11, Hao Wu wrote: > > > > This patch set implements the Tachometer (a.k.a Multi Functional >

Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-11-01 Thread Richard Henderson
On Thu, 11 Mar 2021 at 13:11, Hao Wu wrote: > > This patch set implements the Tachometer (a.k.a Multi Functional Timer/MFT) > device in NPCM7XX SoC. This device is used by NPCM7XX boards to measure > the RPM of PWM fans. > > To provide the RPM of a certain fan, since RPM = MAX_RPM *

Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-03-12 Thread Peter Maydell
On Thu, 11 Mar 2021 at 18:08, Hao Wu wrote: > > This patch set implements the Tachometer (a.k.a Multi Functional Timer/MFT) > device in NPCM7XX SoC. This device is used by NPCM7XX boards to measure > the RPM of PWM fans. > > To provide the RPM of a certain fan, since RPM = MAX_RPM *

[PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device

2021-03-11 Thread Hao Wu
This patch set implements the Tachometer (a.k.a Multi Functional Timer/MFT) device in NPCM7XX SoC. This device is used by NPCM7XX boards to measure the RPM of PWM fans. To provide the RPM of a certain fan, since RPM = MAX_RPM * duty_percentage. We convert the duty output in NPCM7XX PWM module