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 emc2103
^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)   * SMSC EMC2103
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Addresses scanned: I2C 0x2e
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Prefix: 'emc2103'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)     Datasheet: Not public
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Authors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	Steve Glendinning <steve.glendinning@smsc.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The Standard Microsystems Corporation (SMSC) EMC2103 chips
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) contain up to 4 temperature sensors and a single fan controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) triggered if the rotation speed has dropped below a programmable limit. Fan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) readings can be divided by a programmable divider (1, 2, 4 or 8) to give
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) the readings more range or accuracy. Not all RPM values can accurately be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) represented, so some rounding is done. With a divider of 1, the lowest
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) representable value is 480 RPM.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) This driver supports RPM based control, to use this a fan target
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) should be written to fan1_target and pwm1_enable should be set to 3.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) The 2103-2 and 2103-4 variants have a third temperature sensor, which can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) be connected to two anti-parallel diodes.  These values can be read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) as temp3 and temp4.  If only one diode is attached to this channel, temp4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) will show as "fault".  The module parameter "apd=0" can be used to suppress
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) this 4th channel when anti-parallel diodes are not fitted.