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 adt7411
^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)   * Analog Devices ADT7411
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     Prefix: 'adt7411'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     Addresses scanned: 0x48, 0x4a, 0x4b
^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 Analog Devices website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Author: Wolfram Sang (based on adt7470 by Darrick J. Wong)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) This driver implements support for the Analog Devices ADT7411 chip. There may
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) be other chips that implement this interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) converter which measures 1 temperature, vdd and 8 input voltages. It has an
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) internal temperature sensor, but an external one can also be connected (one
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) loses 2 inputs then). There are high- and low-limit registers for all inputs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Check the datasheet for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) sysfs-Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) ================ =================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) in0_input	 vdd voltage input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) in[1-8]_input	 analog 1-8 input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) temp1_input	 temperature input
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) ================ =================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Besides standard interfaces, this driver adds (0 = off, 1 = on):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)   ============== =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)   adc_ref_vdd	 Use vdd as reference instead of 2.25 V
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)   fast_sampling	 Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)   no_average	 Turn off averaging over 16 samples
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)   ============== =======================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Notes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) -----
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) SPI, external temperature sensor and limit registers are not supported yet.