From patchwork Mon Dec 18 15:05:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crt Mori X-Patchwork-Id: 10119843 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 81DA46019C for ; Mon, 18 Dec 2017 15:06:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 744A928D27 for ; Mon, 18 Dec 2017 15:06:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 692F228E27; Mon, 18 Dec 2017 15:06:10 +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 EB99228D27 for ; Mon, 18 Dec 2017 15:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758627AbdLRPGJ (ORCPT ); Mon, 18 Dec 2017 10:06:09 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38979 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758635AbdLRPGI (ORCPT ); Mon, 18 Dec 2017 10:06:08 -0500 Received: by mail-wm0-f68.google.com with SMTP id i11so29877511wmf.4 for ; Mon, 18 Dec 2017 07:06:07 -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=bAn6uBMB8h5yNM8SpTMlZB7CvKo2EiuWlkWpkwLrRq+/5pNLdzkg2tmQWyBxBAjOp2 o6hCnCJYCMeuwVmMVuoBKtgAKPYZPVwT40QirAedNxJjsExFFsD+QT+7jCEsyqts+bKH znGT1YTUP/aCrMWImfiBA6s2su+f0V1/Jc1mElmIFNbKN25ob2GqVFTeIF7i/QeQnjWF 7asxEkgH5+MtqrBrIumpAlday9Gh88y8WOwmX4veQ0JMRktAWTbTzpus655loR9TGii0 /8ekZauk6QO08n6AeCHGwyuCbHogGi+hC3wyo7SKZV/hnhzVa2QbGDF7sF5EsHCbX2p3 JTRA== 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=ssd5OPIgJ7EvT0ko7M3todCl29pc0FkxLnHIvbV5u6ZA4J+DhSYiz41+IvMEKKw2p4 VV/mmfmw8Qo4ffWZ4QrG7c1riwioKn/5lA6q+2gqOgLcodlVIH5TaXV3GNfJlvO4lgHl 5nf3rfd/YY18HMuhZn2F3JzCstgCsImTXDr1M82y8ybzkAGgLPjHX64+HZPbvRxKiiR9 hi+H+QYO9UpFy3d3Tm4/2WSdkvhuOI2myxe2xnqgbUBHRS21JL72pNK39+zzFGZlb8sM 7Pob3eAY1Hzvomuz+eB9IRuhmIGvyWYF6AtK6w14ZWJpQvYPxnF+y1CPv6XZWhVAup/g wyNg== X-Gm-Message-State: AKGB3mIZ+twJidHGqT0rjcksuOz78z1r7USRfdEjl7Qk5kGaaCqZTaNx ftyYvzzQB8LBldsffWI+UCz+gK7nEEw= X-Google-Smtp-Source: ACJfBotyKlQ9zz3Tdzc6AIshHOFZW1tbyMXKCFoKiTQYtCSPpZVOARoyLdiczt3XesShVlJVgAHj0g== X-Received: by 10.28.191.132 with SMTP id o4mr61675wmi.157.1513609566804; Mon, 18 Dec 2017 07:06:06 -0800 (PST) Received: from pc3729.tess.elex.be ([194.150.35.21]) by smtp.gmail.com with ESMTPSA id p29sm18068306wmf.20.2017.12.18.07.06.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Dec 2017 07:06:05 -0800 (PST) From: Crt Mori To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Crt Mori Subject: [PATCH v6 2/3] dt-bindings: iio: temperature: add MLX90632 device bindings Date: Mon, 18 Dec 2017 16:05:59 +0100 Message-Id: <20171218150559.8061-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>; +};