aspeed: add a temp sensor device on I2C bus 3
commita87e81b9b55e7a3979e9987761589517eb6c9dd9
authorCédric Le Goater <clg@kaod.org>
Tue, 13 Jun 2017 13:56:59 +0000 (13 14:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 13 Jun 2017 13:56:59 +0000 (13 14:56 +0100)
tree0fd9abd2671357cdeb6e44f5c7484aaa1200dbde
parentfe3874b6a161a20ed1c2a7256da64cb868c3ef12
aspeed: add a temp sensor device on I2C bus 3

Temperatures can be changed from the monitor with :

(qemu) qom-set /machine/unattached/device[2] temperature0 12000

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1496739230-32109-3-git-send-email-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c