qemu/hw/sensor
Klaus Jensen a78e9839ae hw/i2c: add asynchronous send
Add an asynchronous version of i2c_send() that requires the slave to
explicitly acknowledge on the bus with i2c_ack().

The current master must use the new i2c_start_send_async() to indicate
that it wants to do an asynchronous transfer. This allows the i2c core
to check if the target slave supports this or not. This approach relies
on adding a new enum i2c_event member, which is why a bunch of other
devices needs changes in their event handling switches.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Message-Id: <20220601210831.67259-5-its@irrelevant.dk>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220630045133.32251-6-me@pjd.dev>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-06-30 09:21:14 +02:00
..
adm1272.c
dps310.c hw/misc: Add Infineon DPS310 sensor model 2021-09-20 08:50:59 +02:00
emc141x.c
isl_pmbus_vr.c hw/sensor: add Renesas raa228000 device 2022-03-08 18:46:48 +01:00
Kconfig hw/sensor: add Maxim MAX31785 device 2022-06-30 09:21:13 +02:00
lsm303dlhc_mag.c hw/i2c: add asynchronous send 2022-06-30 09:21:14 +02:00
max31785.c hw/sensor: add Maxim MAX31785 device 2022-06-30 09:21:13 +02:00
max34451.c hw/misc: add MAX34451 device 2021-07-08 14:42:00 -05:00
meson.build hw/sensor: add Maxim MAX31785 device 2022-06-30 09:21:13 +02:00
tmp105.c
tmp421.c