]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/qtest_aspeed.c
qtest: Add functions for accessing devices on Aspeed I2C controller
authorStefan Berger <stefanb@linux.ibm.com>
Fri, 31 Mar 2023 17:30:49 +0000 (13:30 -0400)
committerThomas Huth <thuth@redhat.com>
Thu, 20 Apr 2023 09:25:32 +0000 (11:25 +0200)
commita3ebb580a21c89d22ac5f52bd70814c997f28893
tree69d2516db2aa586b7a497d651830805d16f725ca
parent2243299a748dbc7581205e043dcdb66627a062dd
qtest: Add functions for accessing devices on Aspeed I2C controller

Add read and write functions for accessing registers of I2C devices
connected to the Aspeed I2C controller.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Ninad Palsule <ninad@linux.ibm.com>
Message-Id: <20230331173051.3857801-2-stefanb@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/hw/i2c/aspeed_i2c.h
tests/qtest/qtest_aspeed.c [new file with mode: 0644]
tests/qtest/qtest_aspeed.h [new file with mode: 0644]