On 25/03/2025 23.43, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  hw/sensor/dps310.c  | 2 ++
  hw/sensor/emc141x.c | 6 ++++++
  hw/sensor/tmp105.c  | 2 ++
  hw/sensor/tmp421.c  | 4 ++++
  4 files changed, 14 insertions(+)

diff --git a/hw/sensor/dps310.c b/hw/sensor/dps310.c
index 6966a53248b..e1e6df6b60a 100644
--- a/hw/sensor/dps310.c
+++ b/hw/sensor/dps310.c
@@ -207,6 +207,8 @@ static void dps310_class_init(ObjectClass *klass, void 
*data)
      k->send = dps310_tx;
      device_class_set_legacy_reset(dc, dps310_reset);
      dc->vmsd = &vmstate_dps310;
+    dc->desc = "Infineon DPS310 temperature and humidity sensor";
+    set_bit(DEVICE_CATEGORY_MISC, dc->categories);

Not necessary - I2C device again.

 Thomas


Reply via email to