summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/hwmon/tmp103
blob: ec00a15645baf5a9b071af64c287faff114c12a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Kernel driver tmp103
====================

Supported chips:
  * Texas Instruments TMP103
    Prefix: 'tmp103'
    Addresses scanned: none
    Product info and datasheet: http://www.ti.com/product/tmp103

Author:
	Heiko Schocher <hs@denx.de>

Description
-----------

The TMP103 is a digital output temperature sensor in a four-ball
wafer chip-scale package (WCSP). The TMP103 is capable of reading
temperatures to a resolution of 1°C. The TMP103 is specified for
operation over a temperature range of –40°C to +125°C.

Resolution: 8 Bits
Accuracy: ±1°C Typ (–10°C to +100°C)

The driver provides the common sysfs-interface for temperatures (see
Documentation/hwmon/sysfs-interface under Temperatures).

Please refer how to instantiate this driver:
Documentation/i2c/instantiating-devices
lass="n">pub/Digital/info/semiconductor/literature/dsc-library.html * Scheduling notation: * E - either cluster * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 * Try not to change the actual algorithm if possible for consistency. * Commentary: It seems bogus to walk the input string twice - once * to determine the length, and then again while doing the copy. * A significant (future) enhancement would be to only read the input * string once. */ .text .align 4 .globl strcat .ent strcat strcat: .frame $30, 0, $26 .prologue 0 mov $16, $0 # E : set up return value /* Find the end of the string. */ ldq_u $1, 0($16) # L : load first quadword (a0 may be misaligned) lda $2, -1 # E : insqh $2, $16, $2 # U : andnot $16, 7, $16 # E : or $2, $1, $1 # E : cmpbge $31, $1, $2 # E : bits set iff byte == 0 bne $2, $found # U : $loop: ldq $1, 8($16) # L : addq $16, 8, $16 # E : cmpbge $31, $1, $2 # E : beq $2, $loop # U : $found: cttz $2, $3 # U0 : addq $16, $3, $16 # E : /* Now do the append. */ mov $26, $23 # E : br __stxcpy # L0 : .end strcat