From: Jamin Lin <jamin_lin@aspeedtech.com>
To: "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Troy Lee" <leetroy@gmail.com>,
"Kane Chen" <kane_chen@aspeedtech.com>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Joel Stanley" <joel@jms.id.au>,
"open list:ASPEED BMCs" <qemu-arm@nongnu.org>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Cc: Jamin Lin <jamin_lin@aspeedtech.com>, Troy Lee <troy_lee@aspeedtech.com>
Subject: [PATCH v2 2/2] tests/functional/aarch64/test_aspeed_ast2700a2: Add I2C test for IO expander 1
Date: Mon, 5 Oct 2026 02:04:30 +0000 [thread overview]
Message-ID: <20261005020428.3496039-3-jamin_lin@aspeedtech.com> (raw)
In-Reply-To: <20261005020428.3496039-1-jamin_lin@aspeedtech.com>
The IO expander test only checks the I2C bus of IO expander 0. The I2C
buses of IO expander 1 are not tested, so a wrong interrupt wiring for
IO expander 1 can not be detected.
Add a TMP105 device on the first I2C bus of IO expander 1 and check that
it can be read from firmware.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/aarch64/test_aspeed_ast2700a2.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/functional/aarch64/test_aspeed_ast2700a2.py b/tests/functional/aarch64/test_aspeed_ast2700a2.py
index 01c7c4fdbe..74ef93fc0d 100755
--- a/tests/functional/aarch64/test_aspeed_ast2700a2.py
+++ b/tests/functional/aarch64/test_aspeed_ast2700a2.py
@@ -196,10 +196,13 @@ def test_aarch64_ast2700a2_evb_ioexp_v11_03(self):
self.vm.set_machine('ast2700a2-evb,fmc-model=w25q512jv')
self.vm.add_args('-device',
'tmp105,bus=ioexp0.0,address=0x4d,id=tmp-test-16')
+ self.vm.add_args('-device',
+ 'tmp105,bus=ioexp1.0,address=0x4d,id=tmp-test-32')
self.start_ast2700_test('ast2700-dcscm-image', 8)
self.verify_openbmc_boot_and_login('ast2700-dcscm', False)
self.do_ast2700_i2c_test(8)
self.do_ast2700_i2c_test(16)
+ self.do_ast2700_i2c_test(32)
if __name__ == '__main__':
QemuSystemTest.main()
--
2.43.0
next prev parent reply other threads:[~2026-10-05 2:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-05 2:04 [PATCH v2 0/2] hw/arm/aspeed: Sort device IDs and add IO expander test Jamin Lin
2026-10-05 2:04 ` [PATCH v2 1/2] hw/arm/aspeed: Sort device IDs alphabetically Jamin Lin
2026-10-05 2:04 ` Jamin Lin [this message]
2026-10-07 13:08 ` [PATCH v2 2/2] tests/functional/aarch64/test_aspeed_ast2700a2: Add I2C test for IO expander 1 Cédric Le Goater
2026-10-07 13:10 ` [PATCH v2 0/2] hw/arm/aspeed: Sort device IDs and add IO expander test Cédric Le Goater
2026-10-08 0:52 ` Jamin Lin
2026-10-08 21:09 ` Cédric Le Goater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261005020428.3496039-3-jamin_lin@aspeedtech.com \
--to=jamin_lin@aspeedtech.com \
--cc=andrew@codeconstruct.com.au \
--cc=clg@kaod.org \
--cc=joel@jms.id.au \
--cc=kane_chen@aspeedtech.com \
--cc=leetroy@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=steven_lee@aspeedtech.com \
--cc=troy_lee@aspeedtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox