qemu-patch-raspberry4/include/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 Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
a9scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-cpucfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-ccu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-dramc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-sysctrl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-sid.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm11scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm_integrator_debug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
armsse-cpuid.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
armsse-mhu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_sdmc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_xdma.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
auxbus.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
avr_power.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_mbox.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_mbox_defs.h hw/arm/bcm283x: Correct the license text 2020-03-23 17:22:30 +00:00
bcm2835_mphi.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_property.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_rng.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_thermal.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cbus.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
empty_slot.h hw/misc/empty_slot: Name the slots when created 2020-06-09 06:59:44 +02:00
grlib_ahb_apb_pnp.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6_src.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6ul_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_gpr.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_snvs.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx25_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx31_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx_rngc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-secctl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-sysctl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-sysinfo.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
ivshmem.h ivshmem: add check on protocol version in QEMU 2015-10-24 18:03:18 +02:00
mac_via.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
max111x.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_cmgcr.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_cpc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_itu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mos6522.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mps2-fpgaio.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mps2-scc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
msf2-sysreg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
npcm7xx_clk.h hw/misc: Add NPCM7xx Clock Controller device model 2020-09-14 14:24:58 +01:00
npcm7xx_gcr.h hw/misc: Add NPCM7xx System Global Control Registers device model 2020-09-14 14:24:15 +01:00
nrf51_rng.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pca9552.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pca9552_regs.h misc: add pca9552 LED blinker model 2018-06-08 13:15:32 +01:00
pvpanic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
sifive_e_prci.h hw/riscv: Move sifive_e_prci model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_test.h hw/riscv: Move sifive_test model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_otp.h hw/riscv: Move sifive_u_otp model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_prci.h hw/riscv: Move sifive_u_prci model to hw/misc 2020-09-09 15:54:19 -07:00
stm32f2xx_syscfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f4xx_exti.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f4xx_syscfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tmp105_regs.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tz-mpc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tz-msc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tz-ppc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
unimp.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vmcoreinfo.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
zynq-xadc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00