hw/arm/raspi: add a skeleton implementation of the CPRMAN
authorLuc Michel <luc@lmichel.fr>
Sat, 10 Oct 2020 13:57:49 +0000 (15:57 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Oct 2020 11:10:44 +0000 (11:10 +0000)
commitfc14176ba23de1386d8172d86a8006d9f8a555fc
treeca63b8dbd63f1941327eff9b03b8e2dbf2df8a4b
parent74de7145fd670bb8f86ceb2423c39c8dee37b820
hw/arm/raspi: add a skeleton implementation of the CPRMAN

The BCM2835 CPRMAN is the clock manager of the SoC. It is composed of a
main oscillator, and several sub-components (PLLs, multiplexers, ...) to
generate the BCM2835 clock tree.

This commit adds a skeleton of the CPRMAN, with a dummy register
read/write implementation. It embeds the main oscillator (xosc) from
which all the clocks will be derived.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Luc Michel <luc@lmichel.fr>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/bcm2835_peripherals.c
hw/misc/bcm2835_cprman.c [new file with mode: 0644]
hw/misc/meson.build
hw/misc/trace-events
include/hw/arm/bcm2835_peripherals.h
include/hw/misc/bcm2835_cprman.h [new file with mode: 0644]
include/hw/misc/bcm2835_cprman_internals.h [new file with mode: 0644]