mbox series

[v3,0/2] hw/sensor: Add SB-TSI Temperature Sensor Interface

Message ID 20220113163934.2556958-1-venture@google.com (mailing list archive)
Headers show
Series hw/sensor: Add SB-TSI Temperature Sensor Interface | expand

Message

Patrick Venture Jan. 13, 2022, 4:39 p.m. UTC
v3:
 * typofix where I accidentally embedded 'wq' into a string
 * moved the type sbtsi definition back into the source file
 * renamed the qtest file to use hyphens only

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

 meson.build                  |   1 +
 hw/sensor/trace.h            |   1 +
 include/hw/sensor/sbtsi.h    |  45 +++++
 hw/sensor/tmp_sbtsi.c        | 369 +++++++++++++++++++++++++++++++++++
 tests/qtest/tmp-sbtsi-test.c | 161 +++++++++++++++
 hw/sensor/Kconfig            |   4 +
 hw/sensor/meson.build        |   1 +
 hw/sensor/trace-events       |   5 +
 tests/qtest/meson.build      |   1 +
 9 files changed, 588 insertions(+)
 create mode 100644 hw/sensor/trace.h
 create mode 100644 include/hw/sensor/sbtsi.h
 create mode 100644 hw/sensor/tmp_sbtsi.c
 create mode 100644 tests/qtest/tmp-sbtsi-test.c
 create mode 100644 hw/sensor/trace-events