Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings:iio:temperature:melexis,mlx90632 conversion to yaml

Technically this could have gone in trivial-devices.yaml, but I have
kept it as a separate binding due to the detailed additional description
from the text file.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Crt Mori <cmo@melexis.com>
Cc: Crt Mori <cmo@melexis.com>
Link: https://lore.kernel.org/r/20201031134110.724233-26-jic23@kernel.org

+55 -28
+55
Documentation/devicetree/bindings/iio/temperature/melexis,mlx90632.yaml
··· 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 + required: 39 + - compatible 40 + - reg 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + i2c { 47 + #address-cells = <1>; 48 + #size-cells = <0>; 49 + 50 + temp-sensor@3a { 51 + compatible = "melexis,mlx90632"; 52 + reg = <0x3a>; 53 + }; 54 + }; 55 + ...
-28
Documentation/devicetree/bindings/iio/temperature/mlx90632.txt
··· 1 - * Melexis MLX90632 contactless Infra Red temperature sensor 2 - 3 - Link to datasheet: https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 4 - 5 - There are various applications for the Infra Red contactless temperature sensor 6 - and MLX90632 is most suitable for consumer applications where measured object 7 - temperature is in range between -20 to 200 degrees Celsius with relative error 8 - of measurement below 1 degree Celsius in object temperature range for 9 - industrial applications. Since it can operate and measure ambient temperature 10 - in range of -20 to 85 degrees Celsius it is suitable also for outdoor use. 11 - 12 - Be aware that electronics surrounding the sensor can increase ambient 13 - temperature. MLX90632 can be calibrated to reduce the housing effect via 14 - already existing EEPROM parameters. 15 - 16 - Since measured object emissivity effects Infra Red energy emitted, emissivity 17 - should be set before requesting the object temperature. 18 - 19 - Required properties: 20 - - compatible: should be "melexis,mlx90632" 21 - - reg: the I2C address of the sensor (default 0x3a) 22 - 23 - Example: 24 - 25 - mlx90632@3a { 26 - compatible = "melexis,mlx90632"; 27 - reg = <0x3a>; 28 - };