]> git.proxmox.com Git - qemu.git/commit
tmp105: Create API for TMP105 temperature sensor.
authorAlex Horn <alex.horn@cs.ox.ac.uk>
Wed, 5 Dec 2012 12:34:06 +0000 (12:34 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 23 Dec 2012 20:37:51 +0000 (14:37 -0600)
commit2915efbfa8efadaa2806e827ba92b8dba4f7cd52
treec3887980d6b85ae57fb749ac3e0b74492c6cd7ed
parenteac236ea7bfc1902126be70459e320591078df5c
tmp105: Create API for TMP105 temperature sensor.

* Define enum for TMP105 registers
* Move tmp105_set() from I2C to TMP105 header
* Document units and range of temperature as preconditions

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alex Horn <alex.horn@cs.ox.ac.uk>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/i2c.h
hw/tmp105.c
hw/tmp105.h [new file with mode: 0644]