qemu-e2k/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
..
Kconfig hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
adm1272.c
dps310.c hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
emc141x.c
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
tmp421.c