On 28/03/2023 19.19, Stefan Berger wrote:
Add read and write functions for accessing registers of I2C devices
connected to the Aspeed I2C controller.
Signed-off-by: Stefan Berger <stef...@linux.ibm.com>
Reviewed-by: Cédric Le Goater <c...@kaod.org>
Reviewed-by: Ninad Palsule <ni...@linux.ibm.com>
---
include/hw/i2c/aspeed_i2c.h | 7 +++
tests/qtest/qtest_aspeed.c | 117 ++++++++++++++++++++++++++++++++++++
tests/qtest/qtest_aspeed.h | 41 +++++++++++++
3 files changed, 165 insertions(+)
create mode 100644 tests/qtest/qtest_aspeed.c
create mode 100644 tests/qtest/qtest_aspeed.h
Acked-by: Thomas Huth <th...@redhat.com>