hw/misc/stm32l4x5_rcc: Add an internal clock multiplexer object
authorArnaud Minier <arnaud.minier@telecom-paris.fr>
Sun, 3 Mar 2024 14:06:37 +0000 (15:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 5 Mar 2024 13:22:56 +0000 (13:22 +0000)
commitec7d83acbd1182d47df742745b43e6b16a3a4977
tree1e7ccd84a9e59ef92d55dbb52aec7eb1e0683618
parentd6b55a0fe9920b46d380f50d7da48ff43de21324
hw/misc/stm32l4x5_rcc: Add an internal clock multiplexer object

This object is used to represent every multiplexer in the clock tree as
well as every clock output, every presecaler, frequency multiplier, etc.
This allows to use a generic approach for every component of the clock tree
(except the PLLs).

The migration handling is based on hw/misc/zynq_sclr.c.
Three phase reset will be handled in a later commit.

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20240303140643.81957-3-arnaud.minier@telecom-paris.fr
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/stm32l4x5_rcc.c
hw/misc/trace-events
include/hw/misc/stm32l4x5_rcc.h
include/hw/misc/stm32l4x5_rcc_internals.h