xref: /linux/Documentation/hwmon/adt7411.rst (revision 26b8eb8a98c18b2ee4ea76d99fa2b2a5ccbc1b6c)
1Kernel driver adt7411
2=====================
3
4Supported chips:
5
6  * Analog Devices ADT7411
7
8    Prefix: 'adt7411'
9
10    Addresses scanned: 0x48, 0x4a, 0x4b
11
12    Datasheet: Publicly available at the Analog Devices website
13
14Author: Wolfram Sang (based on adt7470 by Darrick J. Wong)
15
16Description
17-----------
18
19This driver implements support for the Analog Devices ADT7411 chip. There may
20be other chips that implement this interface.
21
22The ADT7411 can use an I2C/SMBus compatible 2-wire interface or an
23SPI-compatible 4-wire interface. It provides a 10-bit analog to digital
24converter which measures 1 temperature, vdd and 8 input voltages. It has an
25internal temperature sensor, but an external one can also be connected (one
26loses 2 inputs then). There are high- and low-limit registers for all inputs.
27
28Check the datasheet for details.
29
30sysfs-Interface
31---------------
32
33================    =================================
34in0_input           vdd voltage input
35in0_min             vdd low limit
36in0_max             vdd high limit
37in0_alarm           vdd alarm
38in[1-8]_input       analog 1-8 input
39in[1-8]_min         analog input low limit
40in[1-8]_max         analog input high limit
41in[1-8]_alarm       analog input alarm
42temp1_input         internal temperature input
43temp1_min           internal temperature low limit
44temp1_max           internal temperature high limit
45temp1_min_alarm     internal temperature low alarm
46temp1_max_alarm     internal temperature high alarm
47================    =================================
48
49If the external temperature sensor is enabled, the following attributes are
50also available:
51
52================ ================================================
53temp2_input      external temperature input
54temp2_min        external temperature low limit
55temp2_max        external temperature high limit
56temp2_min_alarm  external temperature low alarm
57temp2_max_alarm  external temperature high alarm
58temp2_fault      external temperature sensor fault
59================ ================================================
60
61If the external temperature sensor is enabled, analog inputs in1 and in2 are
62not available.
63
64Besides standard interfaces, this driver adds (0 = off, 1 = on):
65
66  ============== =======================================================
67  adc_ref_vdd	 Use vdd as reference instead of 2.25 V
68  fast_sampling	 Sample at 22.5 kHz instead of 1.4 kHz, but drop filters
69  no_average	 Turn off averaging over 16 samples
70  ============== =======================================================
71
72Notes
73-----
74
75SPI is not supported yet.
76