Skip to content

Add the SiFive PWM device

Alistair Francis qemu-devel qemu-riscv 2 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Small fixups

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2hw/timer: Add SiFive PWM supporthw/timer/Kconfig hw/timer/meson.build hw/timer/sifive_pwm.c +2 more+539 -01 reply
2/2sifive_u: Connect the SiFive PWM devicedocs/system/riscv/sifive_u.rst hw/riscv/Kconfig hw/riscv/sifive_u.c +2 more+70 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBin Meng
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Add the SiFive PWM device

From: Alistair Francis <[email protected]>

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
Signature · 1 line
2.31.1