hw/arm/allwinner-h3: add Clock Control Unit
commitfef06c8b1b2ea786e660f0c694dc88d052cde33c
authorNiek Linnenbank <nieklinnenbank@gmail.com>
Wed, 11 Mar 2020 22:18:39 +0000 (11 23:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:27:33 +0000 (12 16:27 +0000)
tree8e5992f04bb21ab31ea4dcaf8cddca5e73ba31db
parentb0c966661e9fcdf48bb736414df8230ab2a2da9d
hw/arm/allwinner-h3: add Clock Control Unit

The Clock Control Unit is responsible for clock signal generation,
configuration and distribution in the Allwinner H3 System on Chip.
This commit adds support for the Clock Control Unit which emulates
a simple read/write register interface.

Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200311221854.30370-4-nieklinnenbank@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/allwinner-h3.c
hw/misc/Makefile.objs
hw/misc/allwinner-h3-ccu.c [new file with mode: 0644]
include/hw/arm/allwinner-h3.h
include/hw/misc/allwinner-h3-ccu.h [new file with mode: 0644]