qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] hw/avr: Start using the Clock API
@ 2020-08-14 16:39 Philippe Mathieu-Daudé
  2020-08-14 16:39 ` [PATCH 1/5] hw/avr/atmega: Introduce the I/O clock Philippe Mathieu-Daudé
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-08-14 16:39 UTC (permalink / raw)
  To: qemu-devel
  Cc: Sarah Harris, Thomas Huth, Joaquin de Andres,
	Philippe Mathieu-Daudé, Michael Rolnik, Paolo Bonzini,
	Marc-André Lureau

In this series we slowly start to use the recently added
Clock API in the AVR ATmega MCU.

As the Clock Control Unit is not yet modelled, we simply
connect the XTAL sink to the UART and Timer sources.

Philippe Mathieu-Daudé (5):
  hw/avr/atmega: Introduce the I/O clock
  hw/timer/avr_timer16: Use the Clock API
  hw/char/avr_usart: Restrict register definitions to source
  hw/char/avr_usart: Use the Clock API
  hw/char/avr_usart: Trace baudrate changes

 hw/avr/atmega.h                |  2 ++
 include/hw/char/avr_usart.h    | 32 ++---------------------
 include/hw/timer/avr_timer16.h |  3 ++-
 hw/avr/atmega.c                |  8 ++++--
 hw/char/avr_usart.c            | 46 ++++++++++++++++++++++++++++++++++
 hw/timer/avr_timer16.c         | 12 +++------
 hw/char/trace-events           |  3 +++
 7 files changed, 65 insertions(+), 41 deletions(-)

-- 
2.21.3



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-08-26 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14 16:39 [PATCH 0/5] hw/avr: Start using the Clock API Philippe Mathieu-Daudé
2020-08-14 16:39 ` [PATCH 1/5] hw/avr/atmega: Introduce the I/O clock Philippe Mathieu-Daudé
2020-08-14 16:39 ` [PATCH 2/5] hw/timer/avr_timer16: Use the Clock API Philippe Mathieu-Daudé
2020-08-14 16:39 ` [PATCH 3/5] hw/char/avr_usart: Restrict register definitions to source Philippe Mathieu-Daudé
2020-08-14 16:39 ` [PATCH 4/5] hw/char/avr_usart: Use the Clock API Philippe Mathieu-Daudé
2020-08-14 16:39 ` [PATCH 5/5] hw/char/avr_usart: Trace baudrate changes Philippe Mathieu-Daudé
2020-08-14 17:33   ` Richard Henderson
2020-08-26 20:19 ` [PATCH 0/5] hw/avr: Start using the Clock API Michael Rolnik

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).