Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | max6697 properties |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: |
| 5 | Should be one of |
| 6 | maxim,max6581 |
| 7 | maxim,max6602 |
| 8 | maxim,max6622 |
| 9 | maxim,max6636 |
| 10 | maxim,max6689 |
| 11 | maxim,max6693 |
| 12 | maxim,max6694 |
| 13 | maxim,max6697 |
| 14 | maxim,max6698 |
| 15 | maxim,max6699 |
| 16 | - reg: I2C address |
| 17 | |
| 18 | Optional properties: |
| 19 | |
| 20 | - smbus-timeout-disable |
| 21 | Set to disable SMBus timeout. If not specified, SMBus timeout will be |
| 22 | enabled. |
| 23 | - extended-range-enable |
| 24 | Only valid for MAX6581. Set to enable extended temperature range. |
| 25 | Extended temperature will be disabled if not specified. |
| 26 | - beta-compensation-enable |
| 27 | Only valid for MAX6693 and MX6694. Set to enable beta compensation on |
| 28 | remote temperature channel 1. |
| 29 | Beta compensation will be disabled if not specified. |
| 30 | - alert-mask |
| 31 | Alert bit mask. Alert disabled for bits set. |
| 32 | Select bit 0 for local temperature, bit 1..7 for remote temperatures. |
| 33 | If not specified, alert will be enabled for all channels. |
| 34 | - over-temperature-mask |
| 35 | Over-temperature bit mask. Over-temperature reporting disabled for |
| 36 | bits set. |
| 37 | Select bit 0 for local temperature, bit 1..7 for remote temperatures. |
| 38 | If not specified, over-temperature reporting will be enabled for all |
| 39 | channels. |
| 40 | - resistance-cancellation |
| 41 | Boolean for all chips other than MAX6581. Set to enable resistance |
| 42 | cancellation on remote temperature channel 1. |
| 43 | For MAX6581, resistance cancellation enabled for all channels if |
| 44 | specified as boolean, otherwise as per bit mask specified. |
| 45 | Only supported for remote temperatures (bit 1..7). |
| 46 | If not specified, resistance cancellation will be disabled for all |
| 47 | channels. |
| 48 | - transistor-ideality |
| 49 | For MAX6581 only. Two values; first is bit mask, second is ideality |
| 50 | select value as per MAX6581 data sheet. Select bit 1..7 for remote |
| 51 | channels. |
| 52 | Transistor ideality will be initialized to default (1.008) if not |
| 53 | specified. |
| 54 | |
| 55 | Example: |
| 56 | |
| 57 | temp-sensor@1a { |
| 58 | compatible = "maxim,max6697"; |
| 59 | reg = <0x1a>; |
| 60 | smbus-timeout-disable; |
| 61 | resistance-cancellation; |
| 62 | alert-mask = <0x72>; |
| 63 | over-temperature-mask = <0x7f>; |
| 64 | }; |