Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | TI ADC128D818 ADC System Monitor With Temperature Sensor |
| 2 | -------------------------------------------------------- |
| 3 | |
| 4 | Operation 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 | |
| 18 | If no operation mode is configured via device tree, the driver keeps the |
| 19 | currently active chip operation mode (default is mode 0). |
| 20 | |
| 21 | |
| 22 | Required node properties: |
| 23 | |
| 24 | - compatible: must be set to "ti,adc128d818" |
| 25 | - reg: I2C address of the device |
| 26 | |
| 27 | Optional node properties: |
| 28 | |
| 29 | - ti,mode: Operation mode (u8) (see above). |
| 30 | |
| 31 | |
| 32 | Example (operation mode 2): |
| 33 | |
| 34 | adc128d818@1d { |
| 35 | compatible = "ti,adc128d818"; |
| 36 | reg = <0x1d>; |
| 37 | ti,mode = /bits/ 8 <2>; |
| 38 | }; |