From patchwork Wed Dec 20 14:20:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crt Mori X-Patchwork-Id: 10125783 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 5EEC360245 for ; Wed, 20 Dec 2017 14:20:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5298B29141 for ; Wed, 20 Dec 2017 14:20:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 466322915C; Wed, 20 Dec 2017 14:20:33 +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 E0D4A29141 for ; Wed, 20 Dec 2017 14:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755475AbdLTOUb (ORCPT ); Wed, 20 Dec 2017 09:20:31 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:44235 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754337AbdLTOU1 (ORCPT ); Wed, 20 Dec 2017 09:20:27 -0500 Received: by mail-wm0-f65.google.com with SMTP id t8so10150220wmc.3 for ; Wed, 20 Dec 2017 06:20:26 -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=K11VCZj2HXFmtiD+46f1jLo33I3w0Ql/Ubq3q2QP9wttqYAFcc76fvN+scfmfnpoHa 3SxEMTTO87PfKVE61r3PmrHIRKiq/OZIO5ASgd00R5BRWn9gq20m8TUR+y67IGac4MFq aEmnPKoO8/36kmyZbBwjmkfA1cIW83uunMrCGH0GXIr5osd54Lv8VS8Awdad0oZE7tTW KcJlne53KZXhegZa8Gk9yNxr8vXeUo91t4b5pCY76vmJHZ3h098Vm6BKN/B5eP/Wwbwx EvJXANGvAZ3vx15B6YArUs53FVjy4hRL42LLMa5ZNqtysEZsyagJOP51UooEb1AwTSUb /w5A== 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=NZe9sNUizKS2ZU91EeaijAAXmpXeZWwJXFYuUAN3aE3Q8sXqWXqylceo5sOXVT/qFm svucsg7kTxCtG6afZ60Y6I6zuVZbvb+1/ZItwEi2R83TEj/JOAHozH7PeWxYJenlrsOU uIGiRNaSc3a2P61kUUKmtKOmcB2G4OwPNYNA+dGMoPDpSo8KTNbHKiMDW9UhfSAvU/7G 2U0c2mdicrzdW8SCnLsp1UxgFs+1rBAzg3i89F0KZYvnr0qI/pkOYIQMw/KQrdgi7JR8 ChpTd5UeZz04/jVFEO8wXsYt5qth+ZZZNzyOenKtMQ1lUbX0mvj5ZMlRRKTgxfKgMX44 UQpA== X-Gm-Message-State: AKGB3mLmVHXF/HBrSkGEvKtApfHQvDCYZbf0dfA3UGkhd02QmzS444Px UVOTBk93wUM4lF095RVp9R6COA== X-Google-Smtp-Source: ACJfBosuN71W+six+huUoqMAx8GSB+0V/OhHDs0xn+fmpORytjEfdiBd53tQiWpyH/2ud32lnFqADA== X-Received: by 10.80.177.250 with SMTP id n55mr5830754edd.30.1513779626167; Wed, 20 Dec 2017 06:20:26 -0800 (PST) Received: from localhost.localdomain (ptr-4xfub6rwgakpug564fr.18120a2.ip6.access.telenet.be. [2a02:1810:a444:c300:4527:fd81:32c2:e0f7]) by smtp.gmail.com with ESMTPSA id j30sm12716120edc.24.2017.12.20.06.20.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Dec 2017 06:20:25 -0800 (PST) From: Crt Mori To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Crt Mori Subject: [PATCH v10 2/3] dt-bindings: iio: temperature: add MLX90632 device bindings Date: Wed, 20 Dec 2017 15:20:19 +0100 Message-Id: <20171220142019.18227-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>; +};