aboutsummaryrefslogtreecommitdiff
path: root/hw/sensor/dps310.c
AgeCommit message (Collapse)AuthorFilesLines
2021-09-20hw/misc: Add Infineon DPS310 sensor modelJoel Stanley1-0/+225
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>