Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Kernel driver tmp108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) ====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)   * Texas Instruments TMP108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: 'tmp108'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Addresses scanned: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)     Datasheet: https://www.ti.com/product/tmp108
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	John Muir <john@jmuir.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) The Texas Instruments TMP108 implements one temperature sensor. An alert pin
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) can be set when temperatures exceed minimum or maximum values plus or minus a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) hysteresis value. (This driver does not support interrupts for the alert pin,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) and the device runs in comparator mode.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) operating temperature has a minimum of -55 C and a maximum of +150 C.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Hysteresis values can be set to 0, 1, 2, or 4C.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) The TMP108 has a programmable update rate that can select between 8, 4, 1, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 0.5 Hz.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) By default the TMP108 reads the temperature continuously. To conserve power,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) the TMP108 has a one-shot mode where the device is normally shut-down. When a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) one shot is requested the temperature is read, the result can be retrieved,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) and then the device is shut down automatically. (This driver only supports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) continuous mode.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) The driver provides the common sysfs-interface for temperatures (see
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Documentation/hwmon/sysfs-interface.rst under Temperatures).