From patchwork Thu Jan 11 10:20:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crt Mori X-Patchwork-Id: 10157785 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 007BC605F9 for ; Thu, 11 Jan 2018 10:20:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 893E52877E for ; Thu, 11 Jan 2018 10:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86DED2877C; Thu, 11 Jan 2018 10:20:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 386D128799 for ; Thu, 11 Jan 2018 10:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933246AbeAKKUW (ORCPT ); Thu, 11 Jan 2018 05:20:22 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:39788 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933141AbeAKKUU (ORCPT ); Thu, 11 Jan 2018 05:20:20 -0500 Received: by mail-wr0-f195.google.com with SMTP id z48so1677042wrz.6 for ; Thu, 11 Jan 2018 02:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=from:to:cc:subject:date:message-id; bh=wnuYuUQGMWrzUNKXNUBORVu0sQ9uVYnpYkAIQzEZg2Y=; b=M8edMm8/npb44aZ/R0n3R6leSYZrURYt3vNtey2L0FM8G2pTcT5QN7Duc5DtAnCnjB yWW1ZaVWZ8UvmhT3J2/dkbepi/kH9z78FkfrPy/Fb+cwdFErIXIm/p2q1bGa8SNpeAWR 4dTavItzSIR8tZuZkqpSyRYRmQsY7y7KEgBNEMAsMK/k9N8MPQFBE9h9h9zoi6e0zmqH 9yBtsbTAT8Gl5bmUUhSCnkHI4rQg4CFXjFuq92vj28qilNB2WWUuu5vBHbySkbA2WDOO RwLOG4vDNKqr4iAwjNiE+ExtD/Rp+WRUy89Q8W4oAmF1BX3pyHEsy3+lzUT3PFsV6Tp/ 3tkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wnuYuUQGMWrzUNKXNUBORVu0sQ9uVYnpYkAIQzEZg2Y=; b=L9RGGwiybgy+DB8hS3EahZ3X1MScV6H89Bqf+OyfHyiiMgV/1GsdkQpbYHXwps9obN x75Lds9ENcKmZeRxONI9wbxkonx5jHHjFeOLUtS3WYR7++9xaHX9LoBI9kX1GEFg7U/P dn8np35yN/Ax9TX6xonWI+m1wiKtBdTdjbkoC1HkZ2zwMutF6VHsdbqveQCdMcMflIgU s0b/d8tsKGkLW9VqDw5XvM6jX3QqS5D6S5el3UYK/4DZIRSYas3FwPNPbXbuUH5XgET0 vp8ZBJbr1rahJ0o8OBybX5xxMdup2HgN5XntEIehLCl0+F5cBmT2D0XTpxwzDYEGFy7l 8Mug== X-Gm-Message-State: AKGB3mL6qrj0evHlbhc+PXLeTcOrH+Zngsa0smcB+NqEByl0hUI6sFEn qkswSS5n6OxFuG2GPESQPuhk6Q== X-Google-Smtp-Source: ACJfBotYgM4jc9R5Qwa6CDh9PDLNUHVQakm0bO6Tj6rDZ3EZt6SN4Ibi+1+xJtTsDFO4L7bGOiGCIA== X-Received: by 10.223.199.78 with SMTP id b14mr19359234wrh.279.1515666018893; Thu, 11 Jan 2018 02:20:18 -0800 (PST) Received: from pc3729.tess.elex.be ([194.150.35.21]) by smtp.gmail.com with ESMTPSA id 127sm811303wmk.14.2018.01.11.02.20.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jan 2018 02:20:17 -0800 (PST) From: Crt Mori To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Crt Mori Subject: [PATCH v13 2/3] dt-bindings: iio: temperature: add MLX90632 device bindings Date: Thu, 11 Jan 2018 11:20:10 +0100 Message-Id: <20180111102010.27350-1-cmo@melexis.com> X-Mailer: git-send-email 2.15.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree bindings for MLX90632 IR temperature sensor. Signed-off-by: Crt Mori Reviewed-by: Rob Herring --- .../bindings/iio/temperature/mlx90632.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/mlx90632.txt diff --git a/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt b/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt new file mode 100644 index 000000000000..0b05812001f8 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/mlx90632.txt @@ -0,0 +1,28 @@ +* Melexis MLX90632 contactless Infra Red temperature sensor + +Link to datasheet: https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 + +There are various applications for the Infra Red contactless temperature sensor +and MLX90632 is most suitable for consumer applications where measured object +temperature is in range between -20 to 200 degrees Celsius with relative error +of measurement below 1 degree Celsius in object temperature range for +industrial applications. Since it can operate and measure ambient temperature +in range of -20 to 85 degrees Celsius it is suitable also for outdoor use. + +Be aware that electronics surrounding the sensor can increase ambient +temperature. MLX90632 can be calibrated to reduce the housing effect via +already existing EEPROM parameters. + +Since measured object emissivity effects Infra Red energy emitted, emissivity +should be set before requesting the object temperature. + +Required properties: + - compatible: should be "melexis,mlx90632" + - reg: the I2C address of the sensor (default 0x3a) + +Example: + +mlx90632@3a { + compatible = "melexis,mlx90632"; + reg = <0x3a>; +};