From: Alistair Francis <alistair.francis@opensource.wdc.com>
To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org
Cc: bmeng.cn@gmail.com, palmer@dabbelt.com, alistair.francis@wdc.com,
alistair23@gmail.com
Subject: [PATCH v3 0/2] Add the SiFive PWM device
Date: Thu, 9 Sep 2021 13:54:49 +1000 [thread overview]
Message-ID: <cover.1631159656.git.alistair.francis@wdc.com> (raw)
From: Alistair Francis <alistair.francis@wdc.com>
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.
v3:
- Small fixups
v2:
- Address Bin's comments
- Expose PWM via the device tree
Alistair Francis (2):
hw/timer: Add SiFive PWM support
sifive_u: Connect the SiFive PWM device
docs/system/riscv/sifive_u.rst | 1 +
include/hw/riscv/sifive_u.h | 14 +-
include/hw/timer/sifive_pwm.h | 62 +++++
hw/riscv/sifive_u.c | 55 +++-
hw/timer/sifive_pwm.c | 468 +++++++++++++++++++++++++++++++++
hw/riscv/Kconfig | 1 +
hw/timer/Kconfig | 3 +
hw/timer/meson.build | 1 +
hw/timer/trace-events | 6 +
9 files changed, 609 insertions(+), 2 deletions(-)
create mode 100644 include/hw/timer/sifive_pwm.h
create mode 100644 hw/timer/sifive_pwm.c
--
2.31.1
next reply other threads:[~2021-09-09 3:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 3:54 Alistair Francis [this message]
2021-09-09 3:55 ` [PATCH v3 1/2] hw/timer: Add SiFive PWM support Alistair Francis
2021-09-09 4:36 ` Bin Meng
2021-09-09 3:55 ` [PATCH v3 2/2] sifive_u: Connect the SiFive PWM device Alistair Francis
2021-09-09 4:37 ` Bin Meng
2021-09-09 6:35 ` Alistair Francis
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.1631159656.git.alistair.francis@wdc.com \
--to=alistair.francis@opensource.wdc.com \
--cc=alistair.francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=bmeng.cn@gmail.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).