xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/adc128d818.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1TI ADC128D818 ADC System Monitor With Temperature Sensor
2--------------------------------------------------------
3
4Operation modes:
5
6 - Mode 0:  7 single-ended voltage readings (IN0-IN6),
7            1 temperature reading (internal)
8 - Mode 1:  8 single-ended voltage readings (IN0-IN7),
9            no temperature
10 - Mode 2:  4 pseudo-differential voltage readings
11              (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6),
12            1 temperature reading (internal)
13 - Mode 3:  4 single-ended voltage readings (IN0-IN3),
14            2 pseudo-differential voltage readings
15              (IN4-IN5, IN7-IN6),
16            1 temperature reading (internal)
17
18If no operation mode is configured via device tree, the driver keeps the
19currently active chip operation mode (default is mode 0).
20
21
22Required node properties:
23
24 - compatible:  must be set to "ti,adc128d818"
25 - reg:         I2C address of the device
26
27Optional node properties:
28
29 - ti,mode:     Operation mode (u8) (see above).
30
31
32Example (operation mode 2):
33
34	adc128d818@1d {
35		compatible = "ti,adc128d818";
36		reg = <0x1d>;
37		ti,mode = /bits/ 8 <2>;
38	};
39