test/avocado/machine_aspeed.py: Add I2C tests to ast2600-evb
commit61cf757d1577cdd591d5432c9d9223e52828aa2c
authorCédric Le Goater <clg@kaod.org>
Mon, 13 Jun 2022 12:05:48 +0000 (13 14:05 +0200)
committerCédric Le Goater <clg@kaod.org>
Wed, 22 Jun 2022 07:49:33 +0000 (22 09:49 +0200)
tree40a9920d832292e9a080d4ed3ca94cc168efbcb2
parent7a7308eae085837d54f2d98f988e4ffe543a1c6b
test/avocado/machine_aspeed.py: Add I2C tests to ast2600-evb

Create a named I2C temperature sensor device on the command line,
instantiate device from Linux since it is not part of the device tree,
and check the temperature is correctly reported under sysfs.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
tests/avocado/machine_aspeed.py