v2 addresses the review from Cédric. I chose to drop the qom get/setters
as the logic was quite involved, and requires more work to get right.
This is a model for the Infineon DPS310 temperature and barometric
pressure sensor.
Joel Stanley (2):
hw/misc: Add Infineon DPS310 sensor model
arm/aspeed: Add DPS310 to Witherspoon and Rainier
hw/arm/aspeed.c | 4 +-
hw/misc/dps310.c | 231 ++++++++++++++++++++++++++++++++++++++++++++
hw/arm/Kconfig | 1 +
hw/misc/Kconfig | 4 +
hw/misc/meson.build | 1 +
5 files changed, 239 insertions(+), 2 deletions(-)
create mode 100644 hw/misc/dps310.c
--
2.32.0