Statistics
| Branch: | Revision:

root / hw / tmp105.h @ 53111180

History | View | Annotate | Download (1 kB)

# Date Author Comment
6d0b4301 01/16/2013 08:14 pm Andreas Färber

tmp105: Split out I2C message constants from header

Allows value sharing with qtest.

Signed-off-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Anthony Liguori <>

2aad80ee 01/16/2013 08:14 pm Andreas Färber

tmp105: QOM'ify

Introduce TYPE_ constant and cast macro.
Move the state struct to the new header to allow for future embedding.

Signed-off-by: Andreas Färber <>
Reviewed-by: Anthony Liguori <>
Signed-off-by: Anthony Liguori <>

eb60d1c5 01/16/2013 08:14 pm Andreas Färber

tmp105: Add temperature QOM property

This obsoletes tmp105_set() and allows for better error handling.

Signed-off-by: Andreas Färber <>
Signed-off-by: Anthony Liguori <>

2915efbf 12/23/2012 10:37 pm Alex Horn

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 <>
Signed-off-by: Alex Horn <>...