]> git.proxmox.com Git - mirror_qemu.git/commit
hw/misc: Allwinner-A10 Clock Controller Module Emulation
authorStrahinja Jankovic <strahinjapjankovic@gmail.com>
Mon, 26 Dec 2022 22:02:57 +0000 (23:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 16:50:19 +0000 (16:50 +0000)
commit423ec28bb8c20d9dfa68faef50699772899ab64d
tree8a93047a943d27c7322b3ed6fd4970c408670b96
parentee5bffa9fce10a3b191fe35279e2460e0a1ba320
hw/misc: Allwinner-A10 Clock Controller Module Emulation

During SPL boot several Clock Controller Module (CCM) registers are
read, most important are PLL and Tuning, as well as divisor registers.

This patch adds these registers and initializes reset values from user's
guide.

Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20221226220303.14420-2-strahinja.p.jankovic@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/Kconfig
hw/arm/allwinner-a10.c
hw/misc/Kconfig
hw/misc/allwinner-a10-ccm.c [new file with mode: 0644]
hw/misc/meson.build
include/hw/arm/allwinner-a10.h
include/hw/misc/allwinner-a10-ccm.h [new file with mode: 0644]