qemu/hw/sensor
Joel Stanley 46560cb105 hw/misc: Add Infineon DPS310 sensor model
This contains some hardcoded register values that were obtained from the
hardware after reading the temperature.

It does enough to test the Linux kernel driver. The FIFO mode, IRQs and
operation modes other than the default as used by Linux are not modelled.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Message-Id: <20210616073358.750472-2-joel@jms.id.au>
[ clg: - Fixed sequential reading
       - Reworked regs_reset_state array
       - Moved model under hw/sensor/ ]
Message-Id: <20210629142336.750058-4-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-09-20 08:50:59 +02:00
..
adm1272.c hw/misc: add ADM1272 device 2021-07-08 14:41:50 -05:00
dps310.c hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
emc141x.c sensor: Move hardware sensors from misc to a sensor directory 2021-06-17 07:10:32 -05:00
Kconfig hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
max34451.c hw/misc: add MAX34451 device 2021-07-08 14:42:00 -05:00
meson.build hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
tmp105.c sensor: Move hardware sensors from misc to a sensor directory 2021-06-17 07:10:32 -05:00
tmp421.c sensor: Move hardware sensors from misc to a sensor directory 2021-06-17 07:10:32 -05:00