mbox series

[v1,0/2] Add the SiFive PWM device

Message ID cover.1617367359.git.alistair.francis@wdc.com (mailing list archive)
Headers show
Series Add the SiFive PWM device | expand

Message

Alistair Francis April 2, 2021, 12:43 p.m. UTC
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