Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/sys/dev/i2c



Module Name:    src
Committed By:   martin
Date:           Sun Nov 23 13:13:26 UTC 2014

Modified Files:
        src/sys/dev/i2c [netbsd-7]: axp22x.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #255):
        sys/dev/i2c/axp22x.c: revision 1.2
Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/i2c/axp22x.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index