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 max6697
^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)   * Maxim MAX6581
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: 'max6581'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6581.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)   * Maxim MAX6602
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)     Prefix: 'max6602'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6602.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)   * Maxim MAX6622
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)     Prefix: 'max6622'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6622.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)   * Maxim MAX6636
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)     Prefix: 'max6636'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6636.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)   * Maxim MAX6689
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)     Prefix: 'max6689'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6689.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)   * Maxim MAX6693
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)     Prefix: 'max6693'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6693.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)   * Maxim MAX6694
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)     Prefix: 'max6694'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6694.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)   * Maxim MAX6697
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)     Prefix: 'max6697'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6697.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)   * Maxim MAX6698
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)     Prefix: 'max6698'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6698.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)   * Maxim MAX6699
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)     Prefix: 'max6699'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64)     Datasheet: http://datasheets.maximintegrated.com/en/ds/MAX6699.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Author:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)     Guenter Roeck <linux@roeck-us.net>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) This driver implements support for several MAX6697 compatible temperature sensor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) chips. The chips support one local temperature sensor plus four, six, or seven
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) remote temperature sensors. Remote temperature sensors are diode-connected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) thermal transitors, except for MAX6698 which supports three diode-connected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) thermal transistors plus three thermistors in addition to the local temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) sensor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) The driver provides the following sysfs attributes. temp1 is the local (chip)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) temperature, temp[2..n] are remote temperatures. The actually supported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) per-channel attributes are chip type and channel dependent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) ================ == ==========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) tempX_input      RO temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) tempX_max        RW temperature maximum threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) tempX_max_alarm  RO temperature maximum threshold alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) tempX_crit       RW temperature critical threshold
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) tempX_crit_alarm RO temperature critical threshold alarm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) tempX_fault      RO temperature diode fault (remote sensors only)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) ================ == ==========================================================