Back to home page

OSCL-LXR

 
 

    


0001 TI ADC128D818 ADC System Monitor With Temperature Sensor
0002 --------------------------------------------------------
0003 
0004 Operation modes:
0005 
0006  - Mode 0:  7 single-ended voltage readings (IN0-IN6),
0007             1 temperature reading (internal)
0008  - Mode 1:  8 single-ended voltage readings (IN0-IN7),
0009             no temperature
0010  - Mode 2:  4 pseudo-differential voltage readings
0011               (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6),
0012             1 temperature reading (internal)
0013  - Mode 3:  4 single-ended voltage readings (IN0-IN3),
0014             2 pseudo-differential voltage readings
0015               (IN4-IN5, IN7-IN6),
0016             1 temperature reading (internal)
0017 
0018 If no operation mode is configured via device tree, the driver keeps the
0019 currently active chip operation mode (default is mode 0).
0020 
0021 
0022 Required node properties:
0023 
0024  - compatible:  must be set to "ti,adc128d818"
0025  - reg:         I2C address of the device
0026 
0027 Optional node properties:
0028 
0029  - ti,mode:     Operation mode (u8) (see above).
0030 
0031 
0032 Example (operation mode 2):
0033 
0034         adc128d818@1d {
0035                 compatible = "ti,adc128d818";
0036                 reg = <0x1d>;
0037                 ti,mode = /bits/ 8 <2>;
0038         };