qemu/hw/misc
Philippe Mathieu-Daudé 99c641370b hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor
We will soon implement the SYS_timer. This timer is used by Linux
in the thermal subsystem, so once available, the subsystem will be
enabled and poll the temperature sensors. We need to provide the
minimum required to keep Linux booting.

Add a dummy thermal sensor returning ~25°C based on:
https://github.com/raspberrypi/linux/blob/rpi-5.3.y/drivers/thermal/broadcom/bcm2835_thermal.c

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20191019234715.25750-2-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-10-25 13:09:27 +01:00
..
macio sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
a9scu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
applesmc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
arm11scu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
arm_integrator_debug.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
arm_l2x0.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
arm_sysctl.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
armsse-cpuid.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
armsse-mhu.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
aspeed_scu.c aspeed/sdmc: Add AST2600 support 2019-10-15 18:09:04 +01:00
aspeed_sdmc.c aspeed/sdmc: Add AST2600 support 2019-10-15 18:09:04 +01:00
aspeed_xdma.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
auxbus.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
bcm2835_mbox.c hw/misc/bcm2835_mbox: Add trace events 2019-10-15 18:09:05 +01:00
bcm2835_property.c hw/misc/bcm2835_mbox: Add trace events 2019-10-15 18:09:05 +01:00
bcm2835_rng.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
bcm2835_thermal.c hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor 2019-10-25 13:09:27 +01:00
cbus.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
debugexit.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
eccmemctl.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
edu.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
exynos4210_clk.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
exynos4210_pmu.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
exynos4210_rng.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
grlib_ahb_apb_pnp.c leon3: introduce the plug and play mechanism 2019-05-17 09:17:11 +01:00
imx2_wdt.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
imx6_ccm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx6_src.c hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
imx6ul_ccm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx7_ccm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx7_gpr.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
imx7_snvs.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
imx25_ccm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx31_ccm.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
imx_ccm.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
iotkit-secctl.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
iotkit-sysctl.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
iotkit-sysinfo.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ivshmem.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
Kconfig hw/misc: Add a config switch for the "unimplemented" device 2019-08-20 09:11:17 +02:00
Makefile.objs hw/misc/bcm2835_thermal: Add a dummy BCM2835 thermal sensor 2019-10-25 13:09:27 +01:00
max111x.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
milkymist-hpdmc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
milkymist-pfpu.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
mips_cmgcr.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
mips_cpc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mips_itu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mos6522.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
mps2-fpgaio.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mps2-scc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
msf2-sysreg.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mst_fpga.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
nrf51_rng.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
omap_clk.c Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
omap_gpmc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
omap_l4.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
omap_sdrc.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
omap_tap.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
pc-testdev.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pca9552.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pci-testdev.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
puv3_pm.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
pvpanic.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
sga.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
slavio_misc.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
stm32f2xx_syscfg.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
tmp105.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
tmp105.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tmp421.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
trace-events hw/misc/bcm2835_mbox: Add trace events 2019-10-15 18:09:05 +01:00
tz-mpc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
tz-msc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
tz-ppc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
unimp.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
vmcoreinfo.c hw/misc/vmcoreinfo: Add comment about reset handler 2019-10-15 18:18:08 -03:00
zynq_slcr.c target-arm queue: 2019-08-16 17:21:40 +01:00
zynq-xadc.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00