qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alistair Francis <alistair.francis@wdc.com>
To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org
Cc: jrestivo@draper.com, aclifford@draper.com, astrnad@draper.com,
	alistair.francis@wdc.com, alistair23@gmail.com,
	palmer@dabbelt.com, bmeng.cn@gmail.com
Subject: [PATCH v1 0/2]  Add the SiFive PWM device
Date: Fri,  2 Apr 2021 08:43:38 -0400	[thread overview]
Message-ID: <cover.1617367359.git.alistair.francis@wdc.com> (raw)

This series adds a the SiFive PWM device and connects it to the
sifive_u machine. This has been tested as a timer with seL4.

Alistair Francis (2):
  sifive_u_pwm: Initial commit
  sifive_u: Connect the SiFive PWM device

 include/hw/dma/sifive_pdma.h    |   2 +-
 include/hw/riscv/sifive_u.h     |  14 +-
 include/hw/timer/sifive_u_pwm.h |  62 ++++
 hw/riscv/sifive_u.c             |  23 +-
 hw/timer/sifive_u_pwm.c         | 483 ++++++++++++++++++++++++++++++++
 MAINTAINERS                     |   2 +
 hw/riscv/Kconfig                |   1 +
 hw/timer/Kconfig                |   3 +
 hw/timer/meson.build            |   1 +
 9 files changed, 588 insertions(+), 3 deletions(-)
 create mode 100644 include/hw/timer/sifive_u_pwm.h
 create mode 100644 hw/timer/sifive_u_pwm.c

-- 
2.31.0



             reply	other threads:[~2021-04-02 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02 12:43 Alistair Francis [this message]
2021-04-02 12:43 ` [PATCH v1 1/2] sifive_u_pwm: Initial commit Alistair Francis
2021-04-07 13:54   ` Bin Meng
2021-04-02 12:43 ` [PATCH v1 2/2] sifive_u: Connect the SiFive PWM device Alistair Francis
2021-04-07 13:54   ` Bin Meng

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=cover.1617367359.git.alistair.francis@wdc.com \
    --to=alistair.francis@wdc.com \
    --cc=aclifford@draper.com \
    --cc=alistair23@gmail.com \
    --cc=astrnad@draper.com \
    --cc=bmeng.cn@gmail.com \
    --cc=jrestivo@draper.com \
    --cc=palmer@dabbelt.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    /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).