qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH qemu 0/3] [PATCH qemu 0/3] hw/arm: Add device STM32L4x5 SYSCFG
@ 2023-12-10 19:05 ~inesvarhol
  2023-12-10 17:51 ` [PATCH qemu 1/3] hw/misc: Implement STM32L4xx SYSCFG ~inesvarhol
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: ~inesvarhol @ 2023-12-10 19:05 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-arm, alistair, philmd, peter.maydell, ines.varhol,
	arnaud.minier

This patch adds a new SYSCFG peripheral used by the STM32L4x5 SoC.
The implementation is inspired from the STM32F4xx SYSCFG, the device
registers however aren't the same.

The patch is split up in 3 commits :
- implementing the SYSCFG device
- adding tests (that fail in this commit)
- connecting the SYSCFG device to the SoC (the tests pass in this
commit)

Based-on: <170198462199.32162.284497577253427308-0@git.sr.ht>
([PATCH qemu 0/3] hw/arm: Add device STM32L4x5 EXTI)

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>

Inès Varhol (3):
  hw/misc: Implement STM32L4xx SYSCFG
  tests/qtest: Add STM32L4xx SYSCFG QTest testcase
  hw/arm: Connect STM32L4xx SYSCFG to STM32L4x5 SoC

 hw/arm/Kconfig                      |   1 +
 hw/arm/stm32l4x5_soc.c              |  24 +-
 hw/misc/Kconfig                     |   3 +
 hw/misc/meson.build                 |   1 +
 hw/misc/stm32l4xx_syscfg.c          | 277 +++++++++++++++++++
 hw/misc/trace-events                |   6 +
 include/hw/arm/stm32l4x5_soc.h      |   2 +
 include/hw/misc/stm32l4xx_syscfg.h  |  62 +++++
 tests/qtest/meson.build             |   3 +-
 tests/qtest/stm32l4xx_syscfg-test.c | 408 ++++++++++++++++++++++++++++
 10 files changed, 778 insertions(+), 9 deletions(-)
 create mode 100644 hw/misc/stm32l4xx_syscfg.c
 create mode 100644 include/hw/misc/stm32l4xx_syscfg.h
 create mode 100644 tests/qtest/stm32l4xx_syscfg-test.c

-- 
2.38.5


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

end of thread, other threads:[~2023-12-18  3:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-10 19:05 [PATCH qemu 0/3] [PATCH qemu 0/3] hw/arm: Add device STM32L4x5 SYSCFG ~inesvarhol
2023-12-10 17:51 ` [PATCH qemu 1/3] hw/misc: Implement STM32L4xx SYSCFG ~inesvarhol
2023-12-18  3:52   ` Alistair Francis
2023-12-10 17:55 ` [PATCH qemu 2/3] tests/qtest: Add STM32L4xx SYSCFG QTest testcase ~inesvarhol
2023-12-18  3:53   ` Alistair Francis
2023-12-10 18:06 ` [PATCH qemu 3/3] hw/arm: Connect STM32L4xx SYSCFG to STM32L4x5 SoC ~inesvarhol
2023-12-18  3:57   ` Alistair Francis

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