Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90632.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Melexis MLX90632 contactless Infra Red temperature sensor |
| 8 | |
| 9 | maintainers: |
| 10 | - Crt Mori <cmo@melexis.com> |
| 11 | |
| 12 | description: | |
| 13 | https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 |
| 14 | |
| 15 | There are various applications for the Infra Red contactless temperature |
| 16 | sensor and MLX90632 is most suitable for consumer applications where |
| 17 | measured object temperature is in range between -20 to 200 degrees |
| 18 | Celsius with relative error of measurement below 1 degree Celsius in |
| 19 | object temperature range for industrial applications. Since it can |
| 20 | operate and measure ambient temperature in range of -20 to 85 degrees |
| 21 | Celsius it is suitable also for outdoor use. |
| 22 | |
| 23 | Be aware that electronics surrounding the sensor can increase ambient |
| 24 | temperature. MLX90632 can be calibrated to reduce the housing effect via |
| 25 | already existing EEPROM parameters. |
| 26 | |
| 27 | Since measured object emissivity effects Infra Red energy emitted, |
| 28 | emissivity should be set before requesting the object temperature. |
| 29 | |
| 30 | properties: |
| 31 | compatible: |
| 32 | const: melexis,mlx90632 |
| 33 | |
| 34 | reg: |
| 35 | maxItems: 1 |
| 36 | description: Default is 0x3a, but can be reprogrammed. |
| 37 | |
| 38 | vdd-supply: |
| 39 | description: provide VDD power to the sensor. |
| 40 | |
| 41 | required: |
| 42 | - compatible |
| 43 | - reg |
| 44 | |
| 45 | additionalProperties: false |
| 46 | |
| 47 | examples: |
| 48 | - | |
| 49 | i2c { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
| 52 | |
| 53 | temp-sensor@3a { |
| 54 | compatible = "melexis,mlx90632"; |
| 55 | reg = <0x3a>; |
| 56 | vdd-supply = <&ldo4_reg>; |
| 57 | }; |
| 58 | }; |
| 59 | ... |