qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/11] Unified peripheral emulation for Renesas chips


From: Yoshinori Sato
Subject: [PATCH 00/11] Unified peripheral emulation for Renesas chips
Date: Thu, 27 May 2021 14:21:11 +0900

Renesas SH4 and RX have similar peripherals.
Integrate the emulation code for these peripherals.

Migrate peripherals.
SH4 sh_timer(TMU) -> renesas_timer
SH4 sh_serial(SCI/SCIF) -> renesas_sci
RX renesas_cmt(CMT) -> renesas_timer
RX renesas_sci(SCIa) -> renesas_sci

I want to process the peripheral clocks of SH4 and RX in the same way,
so I added a new clock generator. This will generate a peripheral clock
from the master clock.

Yoshinori Sato (11):
  hw/char: Renesas SCI module.
  hw/char: remove sh_serial.
  hw/timer: Renesas TMU/CMT module.
  hw/timer: Remove sh_timer.
  hw/timer: Remove renesas_cmt.
  hw/rx: Add RX62N Clock generator
  hw/timer: Renesas 8bit timer.
  hw/rx: rx62n use new hw modules.
  hw/sh4: sh7750 Add CPG.
  hw/sh4: sh7750 use new hw modules.
  hw/rx: rx-gdbsim Add bootstrup for linux

 include/hw/char/renesas_sci.h    |  129 +++-
 include/hw/rx/rx62n-cpg.h        |   72 +++
 include/hw/rx/rx62n.h            |   34 +-
 include/hw/sh4/sh.h              |    8 -
 include/hw/sh4/sh7751-cpg.h      |   94 +++
 include/hw/timer/renesas_cmt.h   |   43 --
 include/hw/timer/renesas_timer.h |   96 +++
 include/hw/timer/renesas_tmr.h   |   58 --
 include/hw/timer/renesas_tmr8.h  |   67 ++
 include/hw/timer/tmu012.h        |   23 -
 hw/char/renesas_sci.c            | 1039 +++++++++++++++++++++++++-----
 hw/char/sh_serial.c              |  431 -------------
 hw/rx/rx-gdbsim.c                |   89 +--
 hw/rx/rx62n-cpg.c                |  344 ++++++++++
 hw/rx/rx62n.c                    |   64 +-
 hw/sh4/sh7750.c                  |  110 +++-
 hw/sh4/sh7751-cpg.c              |  457 +++++++++++++
 hw/timer/renesas_cmt.c           |  283 --------
 hw/timer/renesas_timer.c         |  644 ++++++++++++++++++
 hw/timer/renesas_tmr.c           |  493 --------------
 hw/timer/renesas_tmr8.c          |  540 ++++++++++++++++
 hw/timer/sh_timer.c              |  368 -----------
 MAINTAINERS                      |    8 +-
 hw/char/Kconfig                  |    3 -
 hw/char/meson.build              |    1 -
 hw/rx/Kconfig                    |    4 +-
 hw/rx/meson.build                |    2 +-
 hw/sh4/Kconfig                   |    4 +-
 hw/sh4/meson.build               |    1 +
 hw/timer/Kconfig                 |   12 +-
 hw/timer/meson.build             |    5 +-
 31 files changed, 3501 insertions(+), 2025 deletions(-)
 create mode 100644 include/hw/rx/rx62n-cpg.h
 create mode 100644 include/hw/sh4/sh7751-cpg.h
 delete mode 100644 include/hw/timer/renesas_cmt.h
 create mode 100644 include/hw/timer/renesas_timer.h
 delete mode 100644 include/hw/timer/renesas_tmr.h
 create mode 100644 include/hw/timer/renesas_tmr8.h
 delete mode 100644 include/hw/timer/tmu012.h
 delete mode 100644 hw/char/sh_serial.c
 create mode 100644 hw/rx/rx62n-cpg.c
 create mode 100644 hw/sh4/sh7751-cpg.c
 delete mode 100644 hw/timer/renesas_cmt.c
 create mode 100644 hw/timer/renesas_timer.c
 delete mode 100644 hw/timer/renesas_tmr.c
 create mode 100644 hw/timer/renesas_tmr8.c
 delete mode 100644 hw/timer/sh_timer.c

-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]