Skip to content

hw/sensor: add the TMP1075 temperature sensor

Emmanuel Blot via qemu development qemu-devel 1 version New

Get series with b4
b4 am [email protected] change-id 20261105-sensor-tmp1075-4a7422630bb4

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/sensor: tmp105: add the TMP1075 varianthw/sensor/tmp105.c include/hw/sensor/tmp105.h include/hw/sensor/tmp105_regs.h+91 -10 replies
2/4tests/qtest: tmp105: cover the TMP1075 device ID and reset defaultstests/qtest/tmp105-test.c+33 -00 replies
3/4tests/qtest: tmp105: cover the TMP1075 config register widthtests/qtest/tmp105-test.c+28 -00 replies
4/4tests/qtest: tmp105: cover the Config low byte across a migrationtests/qtest/tmp105-test.c+50 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] hw/sensor: add the TMP1075 temperature sensor

Based on master, at:
f29ccc287a

The TMP1075 is a TMP105 with a 16-bit Config register and a read-only device ID.

New TMP105 qtest cases for the TMP1075, checking a migration round trip.

---
Emmanuel Blot (4):
hw/sensor: tmp105: add the TMP1075 variant
tests/qtest: tmp105: cover the TMP1075 device ID and reset defaults tests/qtest: tmp105: cover the TMP1075 config register width tests/qtest: tmp105: cover the Config low byte across a migration

 hw/sensor/tmp105.c              |  85 +++++++++++++++++++++++++++++-
 include/hw/sensor/tmp105.h      |   2 +
 include/hw/sensor/tmp105_regs.h |   5 ++
 tests/qtest/tmp105-test.c       | 111 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 202 insertions(+), 1 deletion(-)

---
base-commit: f29ccc287a6cfdd51d3a4fd17fbe9af3310a0ac5
change-id: 20261105-sensor-tmp1075-4a7422630bb4

Best regards,

Signature · 1 line
Emmanuel Blot <[email protected]>