diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2019-10-20 01:47:00 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-10-25 13:09:27 +0100 |
commit | 99c641370b52348b2893b2cd19624bf9a416ccfa (patch) | |
tree | 7887c78e5a18a157c1248df390facff126094ef0 /dtc | |
parent | 98a44c1603596fcfffdae5dc674932bc923db049 (diff) | |
download | qemu-99c641370b52348b2893b2cd19624bf9a416ccfa.zip qemu-99c641370b52348b2893b2cd19624bf9a416ccfa.tar.gz qemu-99c641370b52348b2893b2cd19624bf9a416ccfa.tar.bz2 |
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>
Diffstat (limited to 'dtc')
0 files changed, 0 insertions, 0 deletions