qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Hao Wu <wuhaotsh@google.com>
Cc: peter.maydell@linaro.org, venture@google.com,
	hskinnemoen@google.com, qemu-devel@nongnu.org,
	KFTING@nuvoton.com, qemu-arm@nongnu.org, Avi.Fishman@nuvoton.com,
	dje@google.com
Subject: Re: [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device
Date: Tue, 2 Nov 2021 06:03:07 -0400	[thread overview]
Message-ID: <3d2a1f82-a32d-a423-ee6c-12a842bbf6c8@linaro.org> (raw)
In-Reply-To: <CAGcCb10wR6sfZCD_1N+jV9gi6f5Vq=0q9mHzky844nDwkzb7yg@mail.gmail.com>

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 <richard.henderson@linaro.org 
> <mailto:richard.henderson@linaro.org>> wrote:
> 
>     On Thu, 11 Mar 2021 at 13:11, Hao Wu <wuhaotsh@google.com
>     <mailto:wuhaotsh@google.com>> 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 * duty_percentage.
>      > We convert the duty output in NPCM7XX PWM module into GPIOs and feed them
>      > into the MFT module.
>      >
>      > The connection of PWM modules and fan modules are derived from their specific
>      > Linux device trees and coded in hw/arm/npcm7xx_boards.c.
>      >
>      > We amend the QTest for the PWM module to include verifying the reading from
>      > the Tachometer is correct.
>      >
>      > Changes since v1:
>      > - Split implementation of device and addition to board file to separate patches
>      > - Adapt to new Clock API and address conflicts
>      > - Use the new clock_ns_to_ticks API to calculate tachometer counts
>      >
>      > Hao Wu (5):
>      >   hw/misc: Add GPIOs for duty in NPCM7xx PWM
>      >   hw/misc: Add NPCM7XX MFT Module
>      >   hw/arm: Add MFT device to NPCM7xx Soc
>      >   hw/arm: Connect PWM fans in NPCM7XX boards
>      >   tests/qtest: Test PWM fan RPM using MFT in PWM test
>      >
>      >  docs/system/arm/nuvoton.rst    |   2 +-
>      >  hw/arm/npcm7xx.c               |  45 ++-
>      >  hw/arm/npcm7xx_boards.c        |  99 ++++++
>      >  hw/misc/meson.build            |   1 +
>      >  hw/misc/npcm7xx_mft.c          | 540 +++++++++++++++++++++++++++++++++
>      >  hw/misc/npcm7xx_pwm.c          |   4 +
>      >  hw/misc/trace-events           |   8 +
>      >  include/hw/arm/npcm7xx.h       |  13 +-
>      >  include/hw/misc/npcm7xx_mft.h  |  70 +++++
>      >  include/hw/misc/npcm7xx_pwm.h  |   4 +-
>      >  tests/qtest/npcm7xx_pwm-test.c | 205 ++++++++++++-
>      >  11 files changed, 974 insertions(+), 17 deletions(-)
>      >  create mode 100644 hw/misc/npcm7xx_mft.c
>      >  create mode 100644 include/hw/misc/npcm7xx_mft.h
> 
>     Thanks, queued to target-arm.next.
> 
>     r~
> 



  reply	other threads:[~2021-11-02 10:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 18:08 [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device Hao Wu
2021-03-11 18:08 ` [PATCH v2 1/5] hw/misc: Add GPIOs for duty in NPCM7xx PWM Hao Wu
2021-03-11 18:08 ` [PATCH v2 2/5] hw/misc: Add NPCM7XX MFT Module Hao Wu
2021-03-11 18:08 ` [PATCH v2 3/5] hw/arm: Add MFT device to NPCM7xx Soc Hao Wu
2021-03-11 18:08 ` [PATCH v2 4/5] hw/arm: Connect PWM fans in NPCM7XX boards Hao Wu
2021-03-11 18:08 ` [PATCH v2 5/5] tests/qtest: Test PWM fan RPM using MFT in PWM test Hao Wu
2021-03-14 13:18   ` Peter Maydell
2021-03-12 12:52 ` [PATCH v2 0/5] hw/arm: Add NPCM7XX Tachometer Device Peter Maydell
2021-11-01 17:33 ` Richard Henderson
2021-11-01 17:50   ` Hao Wu
2021-11-02 10:03     ` Richard Henderson [this message]
2021-11-02 10:44       ` Peter Maydell
2021-11-02 11:16         ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3d2a1f82-a32d-a423-ee6c-12a842bbf6c8@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=Avi.Fishman@nuvoton.com \
    --cc=KFTING@nuvoton.com \
    --cc=dje@google.com \
    --cc=hskinnemoen@google.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=venture@google.com \
    --cc=wuhaotsh@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).