192af0fb2SJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
292af0fb2SJonathan Cameron%YAML 1.2
392af0fb2SJonathan Cameron---
492af0fb2SJonathan Cameron$id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90632.yaml#
592af0fb2SJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml#
692af0fb2SJonathan Cameron
792af0fb2SJonathan Camerontitle: Melexis MLX90632 contactless Infra Red temperature sensor
892af0fb2SJonathan Cameron
992af0fb2SJonathan Cameronmaintainers:
1092af0fb2SJonathan Cameron  - Crt Mori <cmo@melexis.com>
1192af0fb2SJonathan Cameron
1292af0fb2SJonathan Camerondescription: |
1392af0fb2SJonathan Cameron  https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632
1492af0fb2SJonathan Cameron
1592af0fb2SJonathan Cameron  There are various applications for the Infra Red contactless temperature
1692af0fb2SJonathan Cameron  sensor and MLX90632 is most suitable for consumer applications where
1792af0fb2SJonathan Cameron  measured object temperature is in range between -20 to 200 degrees
1892af0fb2SJonathan Cameron  Celsius with relative error of measurement below 1 degree Celsius in
1992af0fb2SJonathan Cameron  object temperature range for industrial applications. Since it can
2092af0fb2SJonathan Cameron  operate and measure ambient temperature in range of -20 to 85 degrees
2192af0fb2SJonathan Cameron  Celsius it is suitable also for outdoor use.
2292af0fb2SJonathan Cameron
2392af0fb2SJonathan Cameron  Be aware that electronics surrounding the sensor can increase ambient
2492af0fb2SJonathan Cameron  temperature. MLX90632 can be calibrated to reduce the housing effect via
2592af0fb2SJonathan Cameron  already existing EEPROM parameters.
2692af0fb2SJonathan Cameron
2792af0fb2SJonathan Cameron  Since measured object emissivity effects Infra Red energy emitted,
2892af0fb2SJonathan Cameron  emissivity should be set before requesting the object temperature.
2992af0fb2SJonathan Cameron
3092af0fb2SJonathan Cameronproperties:
3192af0fb2SJonathan Cameron  compatible:
3292af0fb2SJonathan Cameron    const: melexis,mlx90632
3392af0fb2SJonathan Cameron
3492af0fb2SJonathan Cameron  reg:
3592af0fb2SJonathan Cameron    maxItems: 1
3692af0fb2SJonathan Cameron    description: Default is 0x3a, but can be reprogrammed.
3792af0fb2SJonathan Cameron
38*ef6d9976SCrt Mori  vdd-supply:
39*ef6d9976SCrt Mori    description: provide VDD power to the sensor.
40*ef6d9976SCrt Mori
4192af0fb2SJonathan Cameronrequired:
4292af0fb2SJonathan Cameron  - compatible
4392af0fb2SJonathan Cameron  - reg
4492af0fb2SJonathan Cameron
4592af0fb2SJonathan CameronadditionalProperties: false
4692af0fb2SJonathan Cameron
4792af0fb2SJonathan Cameronexamples:
4892af0fb2SJonathan Cameron  - |
4992af0fb2SJonathan Cameron    i2c {
5092af0fb2SJonathan Cameron        #address-cells = <1>;
5192af0fb2SJonathan Cameron        #size-cells = <0>;
5292af0fb2SJonathan Cameron
5392af0fb2SJonathan Cameron        temp-sensor@3a {
5492af0fb2SJonathan Cameron            compatible = "melexis,mlx90632";
5592af0fb2SJonathan Cameron            reg = <0x3a>;
56*ef6d9976SCrt Mori            vdd-supply = <&ldo4_reg>;
5792af0fb2SJonathan Cameron        };
5892af0fb2SJonathan Cameron    };
5992af0fb2SJonathan Cameron...
60