qemu-e2k/hw/misc
Havard Skinnemoen e331f79eb8 hw/misc: Add NPCM7xx Clock Controller device model
Enough functionality to boot the Linux kernel has been implemented. This
includes:

  - Correct power-on reset values so the various clock rates can be
    accurately calculated.
  - Clock enables stick around when written.

In addition, a best effort attempt to implement SECCNT and CNTR25M was
made even though I don't think the kernel needs them.

Reviewed-by: Tyrone Ting <kfting@nuvoton.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Message-id: 20200911052101.2602693-3-hskinnemoen@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-09-14 14:24:58 +01:00
..
macio mos6522: Rename QOM macros 2020-09-02 07:29:25 -04:00
Kconfig hw/riscv: Move sifive_test model to hw/misc 2020-09-09 15:54:19 -07:00
a9scu.c hw/misc/a9scu: Report unimplemented accesses with qemu_log_mask(UNIMP) 2020-09-14 14:23:19 +01:00
allwinner-cpucfg.c
allwinner-h3-ccu.c
allwinner-h3-dramc.c
allwinner-h3-sysctrl.c
allwinner-sid.c
applesmc.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm11scu.c
arm_integrator_debug.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm_l2x0.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm_sysctl.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
armsse-cpuid.c
armsse-mhu.c
aspeed_scu.c aspeed/sdmc: Perform memory training 2020-09-01 14:21:51 +02:00
aspeed_sdmc.c aspeed/sdmc: Simplify calculation of RAM bits 2020-09-01 14:21:51 +02:00
aspeed_xdma.c
auxbus.c auxbus: Move QOM macros to header 2020-08-27 14:04:55 -04:00
avr_power.c hw/misc: avr: Add limited support for power reduction device 2020-07-11 11:02:05 +02:00
bcm2835_mbox.c qom: Don't handle impossible object_property_get_link() failure 2020-07-10 15:18:08 +02:00
bcm2835_mphi.c raspi: add BCM2835 SOC MPHI emulation 2020-06-05 17:23:09 +01:00
bcm2835_property.c qom: Don't handle impossible object_property_get_link() failure 2020-07-10 15:18:08 +02:00
bcm2835_rng.c
bcm2835_thermal.c
cbus.c
debugexit.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
eccmemctl.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
edu.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
empty_slot.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
exynos4210_clk.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
exynos4210_pmu.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
exynos4210_rng.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
grlib_ahb_apb_pnp.c hw/misc/grlib_ahb_apb_pnp: Add trace events on read accesses 2020-06-09 09:21:10 +02:00
imx6_ccm.c
imx6_src.c
imx6ul_ccm.c hw/misc/imx6ul_ccm: Implement non writable bits in CCM registers 2020-06-16 10:32:28 +01:00
imx7_ccm.c
imx7_gpr.c
imx7_snvs.c
imx25_ccm.c
imx31_ccm.c
imx_ccm.c imx_ccm: Rename IMX_GET_CLASS macro 2020-09-02 07:29:25 -04:00
imx_rngc.c
iotkit-secctl.c
iotkit-sysctl.c qom: Put name parameter before value / visitor parameter 2020-07-10 15:18:08 +02:00
iotkit-sysinfo.c
ivshmem.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mac_via.c mos6522: Rename QOM macros 2020-09-02 07:29:25 -04:00
max111x.c hw/misc/max111x: Create header file for documentation, TYPE_ macros 2020-07-03 16:59:45 +01:00
meson.build hw/misc: Add NPCM7xx Clock Controller device model 2020-09-14 14:24:58 +01:00
milkymist-hpdmc.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
milkymist-pfpu.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_cmgcr.c
mips_cpc.c
mips_itu.c
mos6522.c mos6522: Rename QOM macros 2020-09-02 07:29:25 -04:00
mps2-fpgaio.c
mps2-scc.c
msf2-sysreg.c
mst_fpga.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
npcm7xx_clk.c hw/misc: Add NPCM7xx Clock Controller device model 2020-09-14 14:24:58 +01:00
npcm7xx_gcr.c hw/misc: Add NPCM7xx System Global Control Registers device model 2020-09-14 14:24:15 +01:00
nrf51_rng.c
omap_clk.c
omap_gpmc.c
omap_l4.c
omap_sdrc.c
omap_tap.c
pc-testdev.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pca9552.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pci-testdev.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
puv3_pm.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pvpanic.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
sbsa_ec.c hw/misc/sbsa_ec : Add an embedded controller for sbsa-ref 2020-09-01 14:01:12 +01:00
sga.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
sifive_e_prci.c hw/riscv: Move sifive_e_prci model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_test.c hw/riscv: Move sifive_test model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_otp.c hw/riscv: Move sifive_u_otp model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_prci.c hw/riscv: Move sifive_u_prci model to hw/misc 2020-09-09 15:54:19 -07:00
slavio_misc.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f2xx_syscfg.c
stm32f4xx_exti.c
stm32f4xx_syscfg.c
tmp105.c error: Eliminate error_propagate() with Coccinelle, part 1 2020-07-10 15:18:08 +02:00
tmp105.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tmp421.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
trace-events hw/misc: Add NPCM7xx Clock Controller device model 2020-09-14 14:24:58 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
tz-mpc.c
tz-msc.c
tz-ppc.c
unimp.c hw/misc/unimp: Display the offset with width of the region size 2020-08-28 10:02:46 +01:00
vmcoreinfo.c
zynq-xadc.c
zynq_slcr.c Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00