Merge remote-tracking branch 'remotes/vivier/tags/trivial-branch-for-6.2-pull-request...
[qemu.git] / include / hw / misc / bcm2835_thermal.h
1 /*
2 * BCM2835 dummy thermal sensor
3 *
4 * Copyright (C) 2019 Philippe Mathieu-Daudé <f4bug@amsat.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #ifndef HW_MISC_BCM2835_THERMAL_H
10 #define HW_MISC_BCM2835_THERMAL_H
11
12 #include "hw/sysbus.h"
13 #include "qom/object.h"
14
15 #define TYPE_BCM2835_THERMAL "bcm2835-thermal"
16
17 OBJECT_DECLARE_SIMPLE_TYPE(Bcm2835ThermalState, BCM2835_THERMAL)
18
19 struct Bcm2835ThermalState {
20 /*< private >*/
21 SysBusDevice parent_obj;
22 /*< public >*/
23 MemoryRegion iomem;
24 uint32_t ctl;
25 };
26
27 #endif