Re: [PATCH 1/3] qtest: Add functions for accessing devices on Aspeed I2C controller

2023-03-28 Thread Ninad Palsule
On 3/27/23 3:24 PM, 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 Reviewed-by: Ninad Palsule --- include/hw/i2c/aspeed_i2c.h | 7 +++ tests/qtest/qtest_aspeed.c | 109

Re: [PATCH 1/3] qtest: Add functions for accessing devices on Aspeed I2C controller

2023-03-28 Thread Cédric Le Goater
On 3/28/23 14:26, Stefan Berger wrote: On 3/28/23 02:39, Cédric Le Goater wrote: On 3/27/23 22:24, 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 Reviewed-by: Cédric Le Goater

Re: [PATCH 1/3] qtest: Add functions for accessing devices on Aspeed I2C controller

2023-03-28 Thread Stefan Berger
On 3/28/23 02:39, Cédric Le Goater wrote: On 3/27/23 22:24, 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 Reviewed-by: Cédric Le Goater [... ] +#ifndef QTEST_ASPEED_H +#defi

Re: [PATCH 1/3] qtest: Add functions for accessing devices on Aspeed I2C controller

2023-03-27 Thread Cédric Le Goater
On 3/27/23 22:24, 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 Reviewed-by: Cédric Le Goater [... ] +#ifndef QTEST_ASPEED_H +#define QTEST_ASPEED_H + +#include + +#define AST2

[PATCH 1/3] qtest: Add functions for accessing devices on Aspeed I2C controller

2023-03-27 Thread Stefan Berger
Add read and write functions for accessing registers of I2C devices connected to the Aspeed I2C controller. Signed-off-by: Stefan Berger --- include/hw/i2c/aspeed_i2c.h | 7 +++ tests/qtest/qtest_aspeed.c | 109 tests/qtest/qtest_aspeed.h | 34 ++