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 w83l785ts
^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)   * Winbond W83L785TS-S
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: 'w83l785ts'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Addresses scanned: I2C 0x2e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)     Datasheet: Publicly available at the Winbond USA website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	       http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L785TS-S.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Authors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	Jean Delvare <jdelvare@suse.de>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The W83L785TS-S is a digital temperature sensor. It senses the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) temperature of a single external diode. The high limit is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) theoretically defined as 85 or 100 degrees C through a combination
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) of external resistors, so the user cannot change it. Values seen so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) far suggest that the two possible limits are actually 95 and 110
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) degrees C. The datasheet is rather poor and obviously inaccurate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) on several points including this one.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) All temperature values are given in degrees Celsius. Resolution
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) is 1.0 degree. See the datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) The w83l785ts driver will not update its values more frequently than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) every other second; reading them more often will do no harm, but will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) return 'old' values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Known Issues
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) ------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) On some systems (Asus), the BIOS is known to interfere with the driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) and cause read errors. Or maybe the W83L785TS-S chip is simply unreliable,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) we don't really know. The driver will retry a given number of times
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) (5 by default) and then give up, returning the old value (or 0 if
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) there is no old value). It seems to work well enough so that you should
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) not notice anything. Thanks to James Bolt for helping test this feature.