v2: * Split the commit into a separate patch for the qtest * Moved the common registers into the new header * Introduced a new header
Hao Wu (2): hw/sensor: Add SB-TSI Temperature Sensor Interface tests: add qtest for hw/sensor/sbtsi hw/sensor/Kconfig | 4 + hw/sensor/meson.build | 1 + hw/sensor/tmp_sbtsi.c | 365 +++++++++++++++++++++++++++++++++++ hw/sensor/trace-events | 5 + hw/sensor/trace.h | 1 + include/hw/sensor/sbtsi.h | 50 +++++ meson.build | 1 + tests/qtest/meson.build | 1 + tests/qtest/tmp_sbtsi-test.c | 161 +++++++++++++++ 9 files changed, 589 insertions(+) create mode 100644 hw/sensor/tmp_sbtsi.c create mode 100644 hw/sensor/trace-events create mode 100644 hw/sensor/trace.h create mode 100644 include/hw/sensor/sbtsi.h create mode 100644 tests/qtest/tmp_sbtsi-test.c -- 2.34.1.575.g55b058a8bb-goog