Naveen Krishna Chatradhi | 9e8269d | 2013-03-13 09:38:20 +0530 | [diff] [blame^] | 1 | NTC Thermistor hwmon sensors |
| 2 | ------------------------------- |
| 3 | |
| 4 | Requires node properties: |
| 5 | - "compatible" value : one of |
| 6 | "ntc,ncp15wb473" |
| 7 | "ntc,ncp18wb473" |
| 8 | "ntc,ncp21wb473" |
| 9 | "ntc,ncp03wb473" |
| 10 | "ntc,ncp15wl333" |
| 11 | - "pullup-uv" Pull up voltage in micro volts |
| 12 | - "pullup-ohm" Pull up resistor value in ohms |
| 13 | - "pulldown-ohm" Pull down resistor value in ohms |
| 14 | - "connected-positive" Always ON, If not specified. |
| 15 | Status change is possible. |
| 16 | - "io-channels" Channel node of ADC to be used for |
| 17 | conversion. |
| 18 | |
| 19 | Read more about iio bindings at |
| 20 | Documentation/devicetree/bindings/iio/iio-bindings.txt |
| 21 | |
| 22 | Example: |
| 23 | ncp15wb473@0 { |
| 24 | compatible = "ntc,ncp15wb473"; |
| 25 | pullup-uv = <1800000>; |
| 26 | pullup-ohm = <47000>; |
| 27 | pulldown-ohm = <0>; |
| 28 | io-channels = <&adc 3>; |
| 29 | }; |